facebookservice elgg 1.7 v1.7.2b

Release Notes

Bug fixed

  • Something bad happen!


     Authentification failed. The user has canceled the authentication or the provider refused the connection.

  • Not logging in, just forwards to Facebook.com, I looked in the new Facebok php sdk changelog and this is what it says:

    If you’re currently using the PHP SDK (v2.2.x) for authentication, you will recall that the login code looked like this:

         $facebook = new Facebook(…);
         $session = $facebook->getSession();
         if ($session) {
           // proceed knowing you have a valid user session
         } else {
           // proceed knowing you require user login and/or authentication
         }

    The login code is now:

         $facebook = new Facebook(…);
         $user = $facebook->getUser();
         if ($user) {
           // proceed knowing you have a logged in user who's authenticated
         } else {
           // proceed knowing you require user login and/or authentication
         }


    The plugin's facebookservice_lib.php seems to be still using "$session = $facebook->getSession();" , anyone had success changing this to work with new facebook sdk?

Stats

  • Category: Third Party integrations
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 1887
  • Recommendations: 7

Other Projects

View anirupdutta's plugins