• Resolved yourfriendwayned

    (@yourfriendwayned)


    I own the website https://www.gizmoninja.com which is a huge tech site and right now we cant afford to keep posting without it going to Facebook. I do not want to migrate to an alternative since this Facebook app worked great for awhile.

    Every time I enable the plugin and go to my Facebook app page it will create an error – I can’t change any settings or visit the page – if I deactivate it will show up just fine. If I have the plugin activate and mark the app to show errors all it does when I post is to show me a box with this in it

    “No post id returned from Facebook, $fb_response was /n and
    $fb_page_type was and $wpbook_description was (my articles content)”

    Here is all my info:

    *Site: https://www.GizmoNinja.com
    *Wordpress Version: 3.1
    *WPBook Version: tried on 2.1 and 2.1.1
    *Facebook App website: https://apps.facebook.com/gizmoninja/
    *Kind of Page Group/Business : https://www.facebook.com/GizmoNinja
    *When I try “Check Permissions” I get the same “Error
    An error occurred. Please try again later.” text in Facebook just like I get while going to the app’s page
    *This Error happens with every blog post…

    I appreciate the help!

    (this plugin is disabled so if you guys are checking it won;t throw the error screen – I have editorial that post and need it disabled right now so it will post to the webpage)

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author John Eckman

    (@johneckman)

    Have you followed the upgrade instructions here?:
    https://wpbook.net/docs/upgrade/

    Do you have access to the PHP error logs for your host?

    I’d guess this is some kind of error in the basic setup – in the Facebook Application settings-> Advanced section->Migrations, what is enabled/disabled?

    What is your canvas url set to in Facebook application settings -> Facebook Integration section?

    Thread Starter yourfriendwayned

    (@yourfriendwayned)

    Well I fixed everything using the advice you gave me – thanks – I updated just like you said and now I can enable it while it gives me no error BUT now it doesn’t post to Facebook – I have made sure to check to send to Facebook and it still does not…

    he is the copy of the migration settings you asked for… https://img845.imageshack.us/img845/2725/fbookappcapture.jpg

    Like I said it all works as it should and looks good BUT now it’s not posting – any suggestions?

    Plugin Author John Eckman

    (@johneckman)

    @yourfriendwayned

    Have you checked permissions? What does your “check permissions” page say?

    Thread Starter yourfriendwayned

    (@yourfriendwayned)

    Alright I have checked my permissions and they are as followed:

    This page is where you can check and grant extended permissions, which enable WPBook to publish to your personal wall and/or to the walls of fan pages.

    Your userid is 561992070

    You will need to enter that number into the WPBook settings page on your WordPress install.

    This user_id has granted these permissions:

    offline_access – yes
    read_stream – yes
    publish_stream – yes

    This user has NOT set an access_token for the application to use.

    To correct any of these, Grant or re-grant permissions for your userid. (This is required if you intend to publish to your personal wall OR any fan pages.)

    You’ve indicated you wish to publish to this page: 175600809122386

    This page has granted stream.publish permissions to this app.

    Also whats odd is it posts to my facebook application page https://apps.facebook.com/gizmoninja and not this page https://www.facebook.com/GizmoNinja like it used to… I even double checked the id number for the post page and it is all set up right…

    Plugin Author John Eckman

    (@johneckman)

    It has always posted to: https://apps.facebook.com/gizmoninja

    That’s what we call the canvas page, it is the landing page for the app and is really just a view of your blog live inside an iframe with some new styling.

    As for why it isn’t publishing to the page, it is because of this line:

    This user has NOT set an access_token for the application to use.

    What happens when you click the “regrant permissions” link?

    Thread Starter yourfriendwayned

    (@yourfriendwayned)

    What happens when you click the “regrant permissions” link?

    It takes me straight back to the app using this url ( https://apps.facebook.com/gizmoninja/?wp_user=1&code=1e97961982a35354a186bbce-561992070|eRK_DSXwShxtD94z1XCQexmA5vo )

    jelpesao

    (@jelpesao)

    I am having the same problem when posting to my site. I get the following error: No post id returned from Facebook, $fb_response was /n and $fb_page_type was and $wpbook_description was

    Thread Starter yourfriendwayned

    (@yourfriendwayned)

    I am having the same problem when posting to my site. I get the following error: No post id returned from Facebook, $fb_response was /n and $fb_page_type was and $wpbook_description was

    Try doing the update instructions above – that helped me fix that problem and the error…

    Thread Starter yourfriendwayned

    (@yourfriendwayned)

    Nevermind I still get that message above when posting now – thought it was fixed – hmmm

    Plugin Author John Eckman

    (@johneckman)

    OK, so you’ve now got the right permissions, but you still get the not post id?

    Can you point to an example of one of the posts in your blog?

    It seems like the post has no content or title, since the description isn’t being set.

    Thread Starter yourfriendwayned

    (@yourfriendwayned)

    All this time I have been posting content and it shows the page right after I post – if WPBook is on it will not post to WPBOOK or TwitterTools

    When I disable WPBOOK all is fine and posts to twitter but obviously wont get pushed to facebook – the last post I did about angels falling from the sky made by Lynx – https://apps.facebook.com/gizmoninja/ – if you go there now it shows my canvas page fine but my facebook page still has zero content… https://www.facebook.com/gizmoninja – that last angel post was just posted and that’s when it shown the same error….

    Plugin Author John Eckman

    (@johneckman)

    With WPBook enabled, when you post a new post, do you see any errors?

    Do you have “Show errors publishing to Facebook stream” enabled?

    What does your “Check Permissions” page show currently?

    Thread Starter yourfriendwayned

    (@yourfriendwayned)

    Alright I did what you said and enabled to show errors – now this is what I get when posting…

    “Caught exception in publish to page (#200) This API call requires a valid app_id. Error code: 0”

    Plugin Author John Eckman

    (@johneckman)

    Are you publishing as the same user you used when you granted permissions?

    Just realized (in another thread here) that publish_to_facebook.php looks for the access_token in the usermeta table in WordPress for the user who originally granted permissions.

    In other words, whatever WordPress user id was logged into WordPress when the “check permissions” and “grant permissions” links were clicked needs to be the active WordPress user when publish-to-facebook runs.

    Working on a fix now as obviously this only works for some users.

    Plugin Author John Eckman

    (@johneckman)

    WPBook 2.1.2 got released – I think the issue will be solved by this update but you will need to regrant permissions.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘WPBook Broken Randomly (Help Me Please)’ is closed to new replies.