bbPress Plugin Browser »

Facebook Graph Connect (0.0.7)

Download

Version: 0.0.7

Last Updated: 2011-3-20

Requires bbPress Version: 1.0.2 or higher

Compatible up to: 1.0.2

Author Homepage »

Plugin Homepage »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(5)

Your Rating

Author: Saran


  1. doutrax2

    Member

    Hi love_bug!
    Thanks for the update.

    However I still have some problems with this step:
    "Second step, where it redirects facebook users to create new account is important step. On that page plugin actually gathers info and adds user in bbpress user db table with unique username and password, with which user can also login manually without facebook connect button. "

    After allowing the permissions the script just redirects to /foro/ frontpage again and no user is created. I've CHMOD'ed everything with the right permissions and have followed your guide 100%.

    If you want - and have time - you can look for yourself: http://www.cli*nica*este*tica.com/foro/ (please remove all *'s)

    Posted: 1 year ago #
  2. love_bug

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Hello, looks like your facebook session / access token is returning null :

    appId : '186900291336384',
    session : null,

    Please make sure your host supports curl and you have properly written your application ID / App secret in you admin page. http://www.clinicaestetica.com/foro/bb-admin/admin-base.php?plugin=fb_configuration_page

    Also make necessary changes in your facebook application settings like enabling OAuth 2.0 etc.

    Posted: 1 year ago #
  3. doutrax2

    Member

    Hi!
    Thanks for taking you time to help me out!

    My PHPinfo returns this:
    cURL support enabled
    cURL Information libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

    So cURL shouldn't be the problem...

    I've reset my App Secret and updated the table.. And I still get this same redirect...
    I remember that I set Base Dir to none, because I had some problem on my other server with some WordPress plugins because of that... Could this also be the issue here?

    I guess - somewhere - in your script my setup doesn't understand that you want to redirect to bb-fb-connect.php ??

    Posted: 1 year ago #
  4. love_bug

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Hi it's nothing to do with redirect, it auto redirects user if facebook access token is empty even after user authorizes your app to exchange information. As I said your site is returning null access token from facebook.

    1. Go to your developer page "My Applications"
    2. Select your app and 'Edit Settings'
    3. Advanced > Migrations > Enable the "OAuth 2.0 for Canvas (beta)

    Or

    Download https://github.com/facebook/php-sdk/zipball/master
    extract it in a folder, run example.php to see if facebook is working in your php environment.

    Posted: 1 year ago #
  5. doutrax2

    Member

    With the example.php I get: You are not Connected.

    OAuth 2.0 for Canvas was already enabled.

    What should my canvas be? Maybe that's the problem?

    Posted: 1 year ago #
  6. I followed the instruction closely, enabled OAuth 2.0 for Canvas, tested using the example.php from fb-php-sdk mentioned above and was able to login. However, when it comes to the forum, I got a fb permission popup when I click the button, once I allowed the permission, the forum page just reloaded and nothing happen. Nothing created in the bb_fbuser table, I also can't post or reply, basically the fb login failed.
    Is there any log where I can find out more and try to troubleshoot?

    Posted: 1 year ago #
  7. love_bug

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    hi can i see your forum?

    Posted: 1 year ago #
  8. Opes

    Member

    Hi.
    I get the following error when I try to activate the plugin:
    Fatal error: Cannot redeclare class FacebookApiException in /home/***/bb-plugins/facebook_graph_connect/facebook.php on line 91

    Do you have any idea what is wrong?

    Posted: 1 year ago #
  9. love_bug

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    hi, are you using any other facebook plugin / scripts? error occurs when 2 scripts trying to call facebook api file in same page.

    Posted: 1 year ago #
  10. Opes

    Member

    I am using the iBlogPro template for both WordPress and bbPress, and they share many template files, and we have Facebook comments on WordPress but no other Facebook plugins in bbPress. Any ideas?

    Posted: 1 year ago #
  11. love_bug

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Possibility is, something else is calling facebook class, try searching "facebook.php" text in your template codes and plugin folder using text finder programs like http://bit.ly/gLeZew .

    Posted: 1 year ago #
  12. I've followed the steps perfectly ... but it's not working :( Please help!
    http://hoopbot.com/

    Posted: 1 year ago #
  13. i've already install the compenent
    but it only work once then when i click connet to facebook in my website
    it says "An error occurred. Please try again later."
    can you help?

    Posted: 4 months ago #

RSS feed for this topic

Add a Comment

You must log in to post.