WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
login = registration (22 posts)

  1. wadams92101
    Member
    Posted 2 years ago #

    Hi, I'm new to the plugin and testing it out on my site. After setting up the base plugin, then login and registration, when I try to login using my FB account, it takes me to my WP registration window. (It does the same thing with Janrain Engage plugin which I'm also testing but I'd prefer your's because of the publishing plugin.) I get the feeling its something fundamental in my WP admin setup. Any ideas?

  2. sheffiecochran
    Blocked
    Posted 2 years ago #

    Don't you have to have a user with that Facebook info in order to login with it?

  3. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    1. You need to be using the latest beta for this to all work properly: http://downloads.wordpress.org/plugin/simple-facebook-connect.zip

    2. If you don't have a user with the same email address as the FB user, then it will go to the registration screen.

  4. wadams92101
    Member
    Posted 2 years ago #

    Ah thats probably it - the email thing. I'll also check out the beta.

  5. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    Well, it was beta. Now it's 1.0. :)

  6. wadams92101
    Member
    Posted 2 years ago #

    Too funny. I thought something went wrong on the upgrade when I only saw the base plugin and not all the sfc add-on plugins. So I reinstalled it manually, then when it was still that way, I realized that you tidied it up by putting the add-ons into the set up menu. Nicely done! (guess I scanned the readme.txt too fast - its probably in there!)

    P.S., I'm a little unclear from the literature, can this plugin push comments one way or two ways (or anyways)? I'm migrating from Wordbooker and switching for the FB login/registration function and for the comments push (which wasn't working in WB).

  7. wadams92101
    Member
    Posted 2 years ago #

    The FB login worked great with my FB account but since it showed the application, I tried it with my wife's FB account (she's already registered on the site). It took me to the WP registration page. Her FB account email is the same as her user email. What went wrong?

  8. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    If the email matching doesn't work, log out of Facebook, then log into the WP site normally as the user in question.

    Then, on the Users->Your Profile page, you can manually connect the user's profile to a Facebook account (this is why you log out of FB, so that you can log into FB as the user in question here).

    This allows users to connect their WP and FB accounts manually if they choose, or if they use different email addresses, or whatever.

    Email matching can fail sometimes if Facebook is returning a proxied email address to the plugin or if capitalization doesn't match, etc.

  9. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    P.S., I'm a little unclear from the literature, can this plugin push comments one way or two ways (or anyways)?

    It's a little complex...

    Using the Comments plugin (which allows anonymous users to comment with their FB credentials instead of filling in name/email/website) will offer them an option to share the comment to Facebook. This pushes the fact of their comment (not the comment text) to their own Facebook profile. Sort of a way to share their post. This shows up as a checkbox under the comment box and is meant a way to draw their friends back to your site.

    Using the Publisher plugin will push new posts you make to your Facebook Profile or Page. If you use the automatic mode, then new posts are auto-pushed where you want them to go, *and* the resulting post IDs on Facebook are stored in the postmeta on your site. This last bit is for...

    Comments pullback will scan those (potentially two) automated posts on Facebook for new comments once every 6 hours or so, retrieve the comments, and sorta integrate them into the normal comments displayed on the post's page itself. These are not real comments and are not stored in the WordPress database, so they can't be replied to here directly. This is why the reply link will be missing from them. A little CSS and you can show that these comments came from Facebook. A demo of this can be seen here: http://ottopress.com/2011/sfc-1-0-fb-comments-integration/

  10. wadams92101
    Member
    Posted 2 years ago #

    Thanks for quick responses Otto. I think I may have dug myself a hole on the install. Does SFC create a FB automatically on activation or am I supposed to create one? It looked like it was using an old FB app I had made for something else so I cleaned out (deleted) my old "unused" FB apps. SFC set up was still showing an API key and App secret, which I presumed was left over from the deleted app. I made a new FB app and put the API and Secret into the SFC fields. Now I'm getting error messages when I SFC>Extended Permissions>Grant SFC Permissions. Also no tokens are found. Yeah, I know - stupid - if it ain't broke, don't fix it - and I did. Sorry. How do I get back to where I was?
    UPDATE: ITS WORKING WITH THE NEW APP I CREATED NOW. APPARENTLY, IT JUST TAKES A WHILE - REALLY - TO "PROPOGATE" ON THE SERVERS, JUST LIKE THE FB NOTICE SAYS WHEN YOU CREATE THE APP.
    The only thing still bugging me is that your instructions didn't say to create an app. The link to "applications wall" doesn't take me to the FB developers page or say anything about creating an app. So was I right in doing so?

  11. wadams92101
    Member
    Posted 2 years ago #

    Sorry for being so verbose. Its seems to work for me but when I test it with my wife's FB account, I get the registration window again. Her user and FB emails match, so that shouldn't be the problem. Any ideas?

  12. alexpike
    Member
    Posted 2 years ago #

    hi. wanna know. I used to <?php echo sfc_connect_shortcode(); ?> for using connect button in theme. now it doesnt work. what i should use now?

  13. alexpike
    Member
    Posted 2 years ago #

    so, sfc_like_button also dont work. how to fix it?

  14. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    The connect shortcode and widget was removed, mainly because it didn't work most of the time.

    The like button is still there and works fine. Just make sure you turn on the like module.

  15. alexpike
    Member
    Posted 2 years ago #

    but how to insert facebook login button in code? in the place i want?

  16. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

  17. wadams92101
    Member
    Posted 2 years ago #

    . . . so back to my login question ;-), works for me but not wife (test user). She gets the WP registration page. Her user email is the same as her FB email, so that's not the problem. Any idea what I'm doing wrong?

  18. wadams92101
    Member
    Posted 2 years ago #

    . . . was I not supposed to set up an FB app for it?

  19. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    You do need an FB App for your website. That's not the problem.

    I can't answer your question of why it works for you and not for your wife. Obviously, something is different between your two accounts.

    I don't have magic powers and I can't pull answers out of thin air. Sorry.

  20. wadams92101
    Member
    Posted 2 years ago #

    Otto, sorry for confusing your tech wizardry with magic powers. Your tech wizardry seems like magic to us non-techs. ;-) Is there a tutorial, FAQ, or thread where I can review the set up of the FB app? Your installation instructions and setup contain a link to an FB page which doesn't contain anything that I can see related to the plugin (probably an FB change?). I set up the app in the developers.facebook page, but want to make sure I did it right.

  21. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    The setup for that now is pretty much as basic as possible. There's only two settings on the developer app (which is indeed the correct place to do it), and those are Site URL and Site Domain.

    Basically, because you say it worked for you, then that means it works, period. As for why it's not working for your wife's account, I can't tell you because I don't really know. The email matching has worked on all accounts I've tried it with.

    And regardless, you can still make it work manually. Just login to WP as your wife, not using Facebook, then go to Users->Your Profile and manually connect your wife's Facebook account to the WP user. Then it'll work. Every time.

  22. wadams92101
    Member
    Posted 2 years ago #

    Ozzm! Thank Otto! Can't wait to start using the plugin! Will definitely make a donation when I implement it on my site. This is a free premium plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic