Facebook Connect Login for Elgg 1.8 v1.2

Release Notes

Changes in 1.2 version

1. This plugin updates email ids of old facebook connect users (before this plugin i.e. those users who have connected with other facebook api plugin)

2. If site page are restricted to logged in users then facebook connect plugin works in this version

3. facebook permission requests are decreased now plugin requests for needed permissions to facebook

  • Fatal Error.

    Peer certificate cannot be authenticated with known CA certificates

    FacebookApiException Object
    (
    [result:protected] => Array
    (
    [error_code] => 60
    [error] => Array
    (
    [message] => Peer certificate cannot be authenticated with known CA certificates
    [type] => CurlException
    )

    )

    [message:protected] => Peer certificate cannot be authenticated with known CA certificates
    [string:Exception:private] =>
    [code:protected] => 60
    [file:protected] => /home/elggdevx/public_html/mod/facebook_connect/vendors/facebookoauth/src/facebook.php
    [line:protected] => 614
    [trace:Exception:private] => Array
    (
    [0] => Array
    (
    [file] => /home/elggdevx/public_html/mod/facebook_connect/vendors/facebookoauth/src/facebook.php
    [line] => 575
    [function] => makeRequest
    [class] => Facebook
    [type] => ->
    [args] => Array
    (
    [0] => https://graph.facebook.com/me
    [1] => Array
    (
    [method] => GET
    [access_token] => AAADJG9eSomoBAHh0MN3WjqXpLmpu7ZCv10cnVkMaqhBKyZB5dmTlrthZBblLsIZAkpnvZCzqBeUVEJXEvusSigsITnEzkHnCWktRFzY9GSCaHF3FcAoMr
    )

    )

    )

    [1] => Array
    (
    [file] => /home/elggdevx/public_html/mod/facebook_connect/vendors/facebookoauth/src/facebook.php
    [line] => 539
    [function] => _oauthRequest
    [class] => Facebook
    [type] => ->
    [args] => Array
    (
    [0] => https://graph.facebook.com/me
    [1] => Array
    (
    [method] => GET
    )

    )

    )

    [2] => Array
    (
    [function] => _graph
    [class] => Facebook
    [type] => ->
    [args] => Array
    (
    [0] => /me
    )

    )

    [3] => Array
    (
    [file] => /home/elggdevx/public_html/mod/facebook_connect/vendors/facebookoauth/src/facebook.php
    [line] => 492
    [function] => call_user_func_array
    [args] => Array
    (
    [0] => Array
    (
    [0] => Facebook Object
    (
    [appId:protected] => 221121418011242
    [apiSecret:protected] => 75c848a5e39beca23bc2eca47598bf1f
    [session:protected] => Array
    (
    [session_key] => 2.AQA_MpS0hTdVHg38.3600.1343322000.1-100004014658322
    [uid] => 100004014658322
    [expires] => 1343322000
    [secret] => YlB4S00lYBaSoBsvbrK7rw__
    [base_domain] => http://elggdev.x10.mx/
    [access_token] => AAADJG9eSomoBAHh0MN3WjqXpLmpu7ZCv10cnVkMaqhBKyZB5dmTlrthZBblLsIZAkpnvZCzqBeUVEJXEvusSigsITnEzkHnCWktRFzY9GSCaHF3FcAoMr
    [sig] => a907b8025c92dfd8bd139626b6601502
    )

    [signedRequest:protected] =>
    [sessionLoaded:protected] => 1
    [cookieSupport:protected] =>
    [baseDomain:protected] =>
    [fileUploadSupport:protected] =>
    )

    [1] => _graph
    )

    [1] => Array
    (
    [0] => /me
    )

    )

    )

    [4] => Array
    (
    [file] => /home/elggdevx/public_html/mod/facebook_connect/lib/facebook_connect.php
    [line] => 85
    [function] => api
    [class] => Facebook
    [type] => ->
    [args] => Array
    (
    [0] => /me
    )

    )

    [5] => Array
    (
    [file] => /home/elggdevx/public_html/mod/facebook_connect/start.php
    [line] => 63
    [function] => facebook_connect_login
    [args] => Array
    (
    )

    )

    [6] => Array
    (
    [function] => facebook_connect_pagehandler
    [args] => Array
    (
    [0] => Array
    (
    [0] => login
    )

    [1] => facebook_connect
    )

    )

    [7] => Array
    (
    [file] => /home/elggdevx/public_html/engine/lib/pagehandler.php
    [line] => 50
    [function] => call_user_func
    [args] => Array
    (
    [0] => facebook_connect_pagehandler
    [1] => Array
    (
    [0] => login
    )

    [2] => facebook_connect
    )

    )

    [8] => Array
    (
    [file] => /home/elggdevx/public_html/engine/handlers/page_handler.php
    [line] => 46
    [function] => page_handler
    [args] => Array
    (
    [0] => facebook_connect
    [1] => login
    )

    )

    )

    [previous:Exception:private] =>
    )

  • Hi, i still have a kinda weird bug when trying to activate this plugin.

    My system is based on Win 7 + Wammp + FF 15.0.1

    My elgg installation is great and i have been working on my new website project for a while now and my xampp system is well configured because i actually use it with many other project on different CMS including some Drupal installations.

    Still...when i try to activate this plugin (as well as Twitter API plugin) it still says that i don't have Curl extension on which is lame because i double and triple checked it and nothing is wrong on that side.

    What is wrong here, i really can't find a solution :(

  • @Francesco

    Make sure curl is on by checking phpinfo(). Also, try restarting apache after you have enabled curl

  • Ok, i fixed it this morning.

    I actually had an outdated/wrong php_curl.dll version of the file to work with my php 5.4.3.

    If some of you encountered the same problem then go to http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/ and scroll down till you reach the links for fixed curl libraries and pick the one that match your php version.

    Go to your web server folder and replace the old .dll file with the one you downloaded.

    Hope this will help.

     

  • Hola saludos existe algun pack para traducirlo al español gracias...

  • We are having some problems with this plugin for live sites as from today. Anyone else have any problems?

  • i am getting this message


    API Error Code: 100
    API Error Description: Invalid parameter
    Error Message: Please migrate to OAuth2 and use new /dialog/oauth endpoint. return_session is no longer available.

  • From today when I attempt to login through this plugin, I'm getting white screen in facebook auth url and I'm not able to login. I don't get any error.

  • Same for me as 1encuentros on 3 websites i support.

  • I have got the same problem, facebook did some changes to their API but I don't know how to fix it, please help :)

    https://developers.facebook.com/bugs/506823259335622

  • Version 1.3 looks god, but I don't pay money for that!

  • I am using social connect plugin. One plugin provides more than 6 login providers

  • @Satheesh PM Thats interesting! Do you know wheather it is possible to deactivate other providers? Thank you very much :)

  • hello chetan, please make it opensource, please, and 20USD, its tooo hign, please make it free!..

  • The plugin cost is only USD 10, I don't use elgg even I spent 2 days in fixing all issues and even my hourly rates are USD 10 per hour. So it is not possible to make it free.

  • this plugin is over 400 days old, several version of elgg since then plus several versions of Facebook and you dont think its fair to ask for $20.  You think because a plugin in released open source that a developer   should support it forever for free?  either grow up and pay him or learn to code yourself.

  • ill buy its not that much, money very well spent, and recommended after seeing the demo sorry, I commented before seeing the demo!!

  • Whats the difference between the paid 1.3 version and all the other free facebook connect plugins on elgg?

  • the difference is that IT WORKS ;)  btw, programmers do not eat bites and bytes, they need monay too...

  • @ZaguglajMe I asked because there ares ones for free, like my own one here which appear to do the same thing. Perhaps I should be charging. I know programmers need to eat (I am one), but I can tell you selling elgg plugins isn't going to feed you are a week nevermind a year

  • Hello, if you are still looking for free evolition of this plugin compatible with OAuth2 and with new /dialog/oauth endpoint then go here, please.

  • Hi everyone,

    I have created a facebook integration from scratch using the graph api and elgg... it needs some work to become a plugin but it is possible. It is currently running on my site www.worldrainbowfamily.org

    Among the functionality it includes:

    Login using facebook into elgg

    Import Profile from facebook into elgg (including picture)

    Import Photo Albums from facebook into Tidypics

    Link facebook feeds (groups, pages, users) into Elgg Group Entities or River..

    Ability to POST comments to messages that are linked (through proxy facebook user) transparently. 

     

    Let me know if this is something people want as a plugin..

    Check the website implementing all this: www.worldrainbowfamily.org

     

     

  • Dear Odin, it's look good.. i need it.. 

  • Does anyone know how to change what the login page looks like.  My setting is set as unrestricted and I would like to put my own design where the "latest activity" is.  

Chetan Varshney

Hi I am software engineer and director of Ekta Softwares. You can visit www.ektasoftwares.com

Stats

  • Category: Authentication
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 11814
  • Recommendations: 52