WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
[resolved] Automatic publishing to fanpage does not work (39 posts)

  1. netmax
    Member
    Posted 2 years ago #

    Dear Otto,

    first of all let me give you my thanks for all the work you've put into this great plugin!

    I was running Wordbooker on one of my other sites, but for a new site i was looking for a more convenient plugin, and SFP really is exactly what i was looking for.

    However, unfortunately the automatic publishing to the fanpage does not work. App ID, App Secret and fanpage ID are set correctly, and all three token checks are reporting back "green".

    "Automatically Publish to Facebook Fan Page" is checked.

    Pressing the "Publish to fanpage" button in the article page works every time like a charm, however this may use a different mechanism as i must be logged into facebook for that.

    As the site is the homepage of a sports club, many different people are writing articles - and they are not admin on the fanpage (and should not be!) or do not even have a FB account - so the automatic publishing from wordpress is really what i need.

    Do you have any ideas or advices to sort this issue out? Can i provide any logs?

    Plugin version is 1.1, the facebook fanpage is a german one (don't know if there is a difference).

    Thanks,
    Marco

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    Err... If you're getting the green boxes, and have granted the permissions and such, and the Page ID is right, and the automatic box is checked.... then there's really nothing more to do. At that point, it just works, totally automatically.

    You can try saving the settings page again. This makes it "refresh" the session keys, which is what causes those green boxes to be green. If it can't retrieve the session keys, then they'd be a different color.

    But the auto-publish does work. You can see examples of it "just working" here:

    http://www.facebook.com/ottopress
    http://www.facebook.com/wordpress
    http://www.facebook.com/matt.mullenweg

    The first one of those is my own Application for my webpage, ottopress.com. You can see how the posts are made by "Otto on WordPress" which is my application.

    The second one is the official WordPress Page (that's a Fan Page, not an application). It's connected to the blog here on http://wordpress.org/news/ . You can see how the 3.3 beta 1 blog post got automatically published yesterday.

    The third one is Matt's Page, hooked to http://ma.tt. He's publishing his posts to his page, but he allows other people to publish comments there too, apparently.

    All three of these are using the automatic-publishing functionality.

    You can also try using the "Development Version" of the plugin, if you like. It has some fixes, but none that would really affect auto-publishing as I know it: http://wordpress.org/extend/plugins/simple-facebook-connect/download/

    Another possibility: Check your FB Application's advanced settings, and make sure that "Stream Post URL Security" is disabled. That can block you from posting sometimes.

  3. netmax
    Member
    Posted 2 years ago #

    Dear Otto,

    thank you for your extensive reply. I of course believe that the plugin is generally working ... also there are many setting on the facebook app page which looks quite different from what you've posted in your blog.

    I've checked the Stream Post URL Security" - it was disabled.

    At least i've deleted the complete Facebook app and made a new one (i have seen that i've left the "app namespace" empty - does this care anything?), and with the new FB app two testpostings have worked.

    However, i'll see what happens in the next postings.

    One more problem: Although the comment option is enabled, FB comments does not go into the articles on the WP page, and WP page comments does not go to the FB fan page. I hope i've understood the comment option that they should do this.

    I've read your FAQ and checked my template (eNews from elegantthemes), and i saw it's using the comments_form() function call:

    <?php comment_form( array('label_submit' => esc_attr__( 'Submit Comment', 'eNews' ), 'title_reply' => '<span>' . esc_attr__( 'Leave a Reply', 'eNews' ) . '</span>', 'title_reply_to' => esc_attr__( 'Leave a Reply to %s' )) ); ?>

    So there should be no action required ... any idea here?

    Thank you,
    Marco

  4. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    One more problem: Although the comment option is enabled, FB comments does not go into the articles on the WP page, and WP page comments does not go to the FB fan page. I hope i've understood the comment option that they should do this.

    There's two comment modules.

    One is "Allow FB Login to Comment". This puts the FB connect button on your comments form, and allows users to use their FB credentials to comment instead of typing in their name/email/website.

    The other is "Integrate FB Comments". This will pull back comments made on your auto-published FB cross-posts and display them in the single post page on your site as if they were normal comments. There is a delay on this of up to six hours, so don't expect immediate results.

    There is no way to send comments made on your site back to the Fan Page. Can't be done. FB doesn't have any way to do it.

  5. netmax
    Member
    Posted 2 years ago #

    Dear Otto,

    unfortunately the automatic posting is still a random feature - some are working, most not ... without touching anything in the settings. Posts from other outhors than me have never been transmitted to the fanpage.

    I've tried the develop version, but without any improvement.

    Worbooker and WPBook are posting 100% to the fanpage, WPBook using the same FB application than SFC (but both are handling the images in a worse way).

    As i love you plugin please let me know if there is ANY debug output or log somewhere which i can send to you. I really want SFC working ... until i can rely on the posts i need to go with WPBook.

    Please let me know how i can help to debug this.

    Marco

  6. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    It doesn't do any "logging" of any kind, so without editing the plugin to actually create some kind of log, there's no real debugging you can do.

    I do know publishing from other authors works fine. I set up SFC here on WordPress.org, and it publishes to our fan page on FB just fine. I set it up, and I've never made a post here, all posts are made by other people.

    Ultimately, I don't know what the problem with your site is. The plugin does the same set of actions for every auto-publish. It doesn't have different things for different cases. It can't behave differently one time vs. another. So if you're "randomly" not having it publish, then the only thing I can think of is that you're "randomly" not able to connect to Facebook's servers.

    If you can debug the code and find the problem, then I'd be more than happy to fix whatever you find, but I can't really help you debug a problem that I can't reproduce. You can reproduce it on your site, so you'd have to be able to find the problem and tell me what it is or under what conditions it occurs, or *something* to let me know what the issue really is.

  7. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    If you want to work with me via email, my email address is otto@ottodestruct.com.

  8. teddyen
    Member
    Posted 2 years ago #

    Did you guys figure this out? I have the exact same problem, and can't figure out what's wrong. I've spent about three hours trying to work it out, looking through forums and installation instructions. All three lights are green, and manual publishing works. Auto publish? Nada.

    I havent tried to delete the app and make a new one yet, but will do so now. I have my doubts.

    Otherwise, thanks for å great plugin, I hope we don't nag you too much.

  9. tozes
    Member
    Posted 2 years ago #

    Hi guys,
    Are there any news on this one? I have the same problem too, exactly the same symptoms.

    Cheers

  10. jellyroll4264
    Member
    Posted 2 years ago #

    Hi,

    Seems to be the same problem for me too. I get the green lights and such. I will try creating a new app as well.

    What is the "stream post url security and set it to disable," is that through facebook?

    Should the automatic publish be instantaneous?

    If the fanpage is linked to twitter is there a way for it to publish automatically through wordpress via facebook to twitter? Or am I stuck with the option of the twitter plugin you've created.

    Otherwise great plugin, thank you.

  11. Connor Crosby
    Member
    Posted 2 years ago #

    Hi Otto,

    I also am having issues with automatic publishing. The plugin set up fine and I have green lights for all the token checks. However, it seems that none of my scheduled posts are getting automatically published onto my Facebook page. I have to manually go to each post and log in and press publish to FB page. If I do not do that, then 1) it won't be published on the page and 2) the comments section on that specific post says the URL is unreachable.

    Please help us! I would love to use this plugin!

  12. jellyroll4264
    Member
    Posted 2 years ago #

    Worked perfect for me when I created a new app for it. First time gave me problems for auto publishing.

  13. jellyroll4264
    Member
    Posted 2 years ago #

    Now it's not working. Why?

    This is upsetting me.

  14. Pedro
    Member
    Posted 2 years ago #

    Hi guys,

    Same here, auto-publishing isn't working. I am using scheduled posts, so this might actually be the issue.

    After deleting and creating a new app the auto-publish worked for the first time, but since then nothing.

    Otto, do you have any clues, any hints for us?

    Thanks in advance for your time for this!
    Petre

  15. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    My advice: Don't log out of Facebook. When you log out, you break the access token.

  16. Pedro
    Member
    Posted 2 years ago #

    I confirm this works, thanks a lot Otto!

    Is there any way to overcome this? I am asking because I was doing this setting for a customer's site and wasn't using my own FaceBook account. Sometimes you have to log out of FB :)

    Thanks again!

  17. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    Not yet, but I'm talking to some Facebook developers to try to figure out just WTF is going on there.

  18. screename
    Member
    Posted 2 years ago #

    Hi Otto,

    I been having the same issue with auto posting, it seems that it works great at first, but then the connection expire. Though the admin panel shows that the User ID token, the app Token and the Fan page token been found, it will only auto post after I press the grant permission button again, I been trying to debug it for a few days and noticed that it usually expire after around 45 min from the time I pressed the grant permission button, once I pressed it again it will work for another 45 min.

    I assume that you are right when you are saying not to log out of facebook since it breaks the access token, what would be the best way to do that via wordpress, or do you mean just not to log out of facebook (I am always logged in)

    Thanks for a really great plugin and your effort on this!

  19. llynix
    Member
    Posted 2 years ago #

    I seem to be having the same problem. If there is anything I can do to debug please let me know.

  20. Andre Gugliotti
    Member
    Posted 2 years ago #

    Hello, everybody,
    Just bringing some fresh air to this thread:

    1) its right: automatically publish works with "common" posts but it fails when posts are scheduled (all my posts are scheduled, so it doesnt work to me)
    2) I have Simple Twitter Connect installed too and it works fine, with scheduled and non-scheduled posts. It could be a good benchmark to solve this problem, even talking about two different APIs

    Cheers!

  21. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    There's no current problem with scheduled posts as of 1.3 that I am aware of. There was previously an issue there, but this was fixed a while back. Scheduled posts *do* auto-publish, this has been tested and is known to be working properly.

  22. jokerempire
    Member
    Posted 2 years ago #

    Sam, is there any way to limit how many stories are posted to my Facebook Page?

    I'm running a news site and publishing "all" stories simply overwhelms the people that "Like" my page and thus is spamming their timeline.

    It would be really good to have a feature that allows SFC to be limited to say 15 posts to my FB page a day or so. Or a maximum of X per hour would work as well.

    If this feature is already implemented, please let me know where to find it / how to do it.

    Thanks a lot,
    JOKER

  23. gregorp
    Member
    Posted 2 years ago #

    The same problem as screename:
    "I been having the same issue with auto posting, it seems that it works great at first, but then the connection expire. Though the admin panel shows that the User ID token, the app Token and the Fan page token been found, it will only auto post after I press the grant permission button again, I been trying to debug it for a few days and noticed that it usually expire after around 50 min from the time I pressed the grant permission button, once I pressed it again it will work for another 50
    min. "

    I am always logged in Facebook but it's not helping. Is there any way to fix this?

  24. ynk
    Member
    Posted 2 years ago #

    Please is there any relief that auto publish of this great app is working with schedule post. I have researched, and there is no better app that does the same job. The only down side is the "auto publish." It does not work when your account is log out. Please help.

  25. jardokraka
    Member
    Posted 1 year ago #

    having the same problem with autopublishing and granting extended permissions to SFC on the plugin settings page. both 'User ID and Access Token found!' and 'Application Access Token found!' are green.

  26. pepe
    Member
    Posted 1 year ago #

    Yeah. It really doesn't work. Manual publishing is OK, though. Unfortunately, with manual publishing, comments are not pulled into WordPress :(

  27. carlosm.lopez
    Member
    Posted 1 year ago #

    Please have a solution to that? I cant post automatically and do not work the comment integration!

  28. peripateticfrasmotic
    Member
    Posted 1 year ago #

    Sorry - I'm having the same problem. All access tokens are showing in green, manual posting to FB works but automatic posting for scheduled posts doesn't.

  29. dziactor
    Member
    Posted 1 year ago #

    Same issue here as well.

  30. dziactor
    Member
    Posted 1 year ago #

    Here is the log I get about how it fails.

    [2012-08-06 13:38:07.1344260287] [inc-fb-status-updater.php - fbStatusUpdater(...)] Error while posting to page link: OAuthException - (#210) Subject must be a page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic