Forums

[resolved] [Plugin: WPBook] No comments. (28 posts)

  1. giant slayer
    Member
    Posted 2 years ago #

    I recently installed wpbook and can't find any of my comments in the facebook app. I don't see a place to comment. And no existing comments are showing. I also am not seeing where the new post was published to my wall or to my fanpage.

    My most recent post can be seen here:
    http://theviolent.net/ps-others/crab/

    My facebook wall is:
    http://www.facebook.com/slayerofgiants

    The facebook fanpage is:
    http://www.facebook.com

    And the facebook app page is:
    http://apps.facebook.com/theviolent/

    Thank you for your help.

  2. giant slayer
    Member
    Posted 2 years ago #

    hmmm... The fanpage link did not take.
    The fanpage is called theviolent.net with an id of 106085362766820.

    http://www.facebook.com/pages/theviolentnet/106085362766820

  3. johneckman
    Member
    Posted 2 years ago #

    You appear to be using some other plugin that prevents WPBook from rewriting the permalinks inside the FB app - or you've edited the theme.

    Here's an individual post: http://apps.facebook.com/theviolent/poetry/deeper

    That should be the permalink shown inside FB, which then allows comments.

    In terms of posting to your wall of fanpage that isn't automatic - have you granted the appropriate permissions?

    Have you followed the directions included with the plugin?

  4. giant slayer
    Member
    Posted 2 years ago #

    Thank you for your quick response. I am probably guilty on both counts. I have a plugin called "custom permalinks" which may be the culprit. And I did modify the document in order to incorporate the yapb plugin for the thumbnail images as well as the full size images on the post.

    What is the correct permalink behavior supposed to be? Is the link in the app supposed to be pointing to the app permalink rather than the permalink on my site?

    I did notice as well, after I posted a comment on the link you posted, I was redirected to my site. Was it supposed to remain on the app site?

    As far as posting to my wall and to my fanpage, I believe I have granted the app the approprate permissions according the instructions given. Though, I may very well have done something wrong or missed something altogether.

    Thanks again for your help.

  5. giant slayer
    Member
    Posted 2 years ago #

    I rechecked the directions on publishing to the wall and to the fan page. I think I may have indeed done them incorrectly, but I think I did it right this time. I'll see if it is working correctly.

  6. giant slayer
    Member
    Posted 2 years ago #

    Ok, with the corrections I was able to publish to my wall, but still nothing to the wall of my fanpage.

    And I'm still not sure how the permalink behavior is supposed to be.

    Again, thanks for all your help.

  7. johneckman
    Member
    Posted 2 years ago #

    re: permalinks

    What WPBook does is alter the permlinks to point to the posts inside your Facebook app rather than on the blog - it changes the domain to apps.facebook.com/your_app_name/ and then appends the permalink (like /2010/05/23/your-blog-post/) to that.

    In other words, it should be changing this: http://theviolent.net/poetry/deeper

    Into this: http://apps.facebook.com/theviolent/poetry/deeper

    When you post a comment you should get redirected back to your Facebook app not your site.

  8. johneckman
    Member
    Posted 2 years ago #

    In terms of posting to the fan page, have you granted the necessary permissions?

    When you visit this page: http://apps.facebook.com/theviolent/?is_permissions=true

    Where it says:

    You are also listed as the admin of these pages:

    If you are the administrator of pages which do not show up in this list, you need to ensure you have added the application to the pages first.

    Does your fanpage show up in that list? Does it say that permissions have been granted?

  9. giant slayer
    Member
    Posted 2 years ago #

    Yes sir.

    Here is the text, from the page.

    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 100000956600650 
    
    You will need to enter that number into the WPBook settings page on your WordPress install.
    
    Click here to grant permissions for your userid. (This is required if you intend to publish to your personal wall OR any fan pages.)
    
    You are also listed as the admin of these pages: 
    
    <strong>theviolent.net (106085362766820), This page has granted stream.publish permissions to this app. </strong>
    If you are the administrator of pages which do not show up in this list, you need to ensure you have added the application to the pages first.
    
    Follow the detailed directions included with the plugin.
  10. johneckman
    Member
    Posted 2 years ago #

    Hmm. So even after you get to that point, when you post new blog posts they don't show up on the fanpage wall?

    Do you have "show errors publishing to Facebook stream" checked in WPBook settings in wordpress?

    Do you get an error message?

    Do you have publishing to your personal wall AND fan pages enabled, in WPBook settings?

  11. giant slayer
    Member
    Posted 2 years ago #

    I turned on the "show errors..." in the option settings.
    I posted a new post. Here's the link.
    http://theviolent.net/mydreams/12-14-2007-team-meeting
    The WPBook Error I received is "Caught exception: Requires user session"

    The new post did showup on my personal wall, but not on the fanpage wall.

    I do have publishing checked on both options.

  12. giant slayer
    Member
    Posted 2 years ago #

    I appologize. I think I crashed the whole thing. I tried to uninstall the plugin and reinstall it and went through the etire list of steps again, and now when I go to click on click here to grant WPBook the permission to publish to your stream.

    When I click on that link it takes me to this page
    http://apps.facebook.com/theviolent/?is_permissions=true
    But there are no permissions. It simply looks like my site apart from facebook.

    I'm sorry for all the trouble.

  13. johneckman
    Member
    Posted 2 years ago #

    Not sure what's happening - did it seem like the plugin was successfully re-installed?

    Looks to me like this link is also not working:
    http://apps.facebook.com/theviolent/

    Did you change your application on the FB side? Different API key or Secret?

    Is the plugin enabled in WordPress?

  14. giant slayer
    Member
    Posted 2 years ago #

    I thought the plugin was both successfully uninstalled and reinstalled. I don't think I made any changes to the app on the facebook side.

    I double checked the api and secret keys. The plugin is enabled. The app is added to my profile and my fanpage.

  15. giant slayer
    Member
    Posted 2 years ago #

    I am really not sure how I messed it up so poorly.

  16. giant slayer
    Member
    Posted 2 years ago #

    I do notice I am getting a javascript error on my wpbook configuration page. It is as follows:

    Webpage error details
    
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)
    Timestamp: Thu, 27 May 2010 03:19:30 UTC
    
    Message: Invalid argument.
    Line: 148
    Char: 16
    Code: 0
    URI: http://theviolent.net/wp-content/plugins/wpbook/admin_includes/jquery.simpletip-2.0.0-beta4.js

    I do not know if this is having anything to do with why I am having trouble.

  17. giant slayer
    Member
    Posted 2 years ago #

    I deleted my Facebook app.
    Deactivated the plugin.
    Deleted the plugin.
    Created a new app.
    Installed the plugin.
    Activated the plugin.
    Entered the new app api and secret code.
    Double checked to make sure all settings were correct per the setup instructions.

    Nothing happens.
    I'm at a total loss.
    Here's the app url
    http://apps.facebook.com/theviolent/

  18. johneckman
    Member
    Posted 2 years ago #

    What's odd is that looking at the page source of your FB app, Facebook is calling the iFrame with just this src: http://theviolent.net/

    It should be calling the iFrame and passing in a number of parameters, including ?fb_sig_in_iframe=1 (and others - authorization, api key, etc).

    Not sure why - what are your application settings in Facebook? Is it set to a web application, iframe style?

  19. giant slayer
    Member
    Posted 2 years ago #

    Yes, web application, Iframe, resizable.
    Here are the settings as listed from the config page.

    API Key
    94bc8630906ee2023cab8d266124e513
    Application ID
    129612363717659
    Contact Email
    giantslayer@theviolent.net
    Support Email
    giantslayer@theviolent.net
    Canvas Callback URL
    http://theviolent.net/
    Connect URL
    http://theviolent.net/
    Base Domain
    theviolent.net
    Canvas URL
    http://apps.facebook.com/theviolent/
    FBML/iframe
    iframe
    Developer Mode
    Off
    Application Type
    Website
    Private Install
    No
  20. giant slayer
    Member
    Posted 2 years ago #

    Ok, I got the app working again. I found that I had selected the option for "New SDK's" selected as I thought it was required for using the new social graph. I disabled that option and the app started working again.

    It even integrates nicely with the new social plugins from facebook.
    http://apps.facebook.com/theviolent/grunge/grunge-background-10

    Though, I am still having trouble with the link/url structure. Any ideas how I might trouble shoot this?

    And can you tell me where in your code is the call to post to the facebook wall for new posts?

    Thanks for all your help.

  21. giant slayer
    Member
    Posted 2 years ago #

    I also noticed the page often has scroll bars the first time it loads and then a page refresh removes them. Is there any way to change this behavior?

    Thanks.

  22. johneckman
    Member
    Posted 1 year ago #

    What trouble are you having with the link/url structure?

    I don't know what trouble you're having in order to help troubleshoot.

    The code that posts to the Facebook wall is in wpbook.php in the (now misnamed) update profile boxes function.

    The FB app relies on Facebook's own javascript to resize the iframe automatically at load time based on the size of the content - don't know any way around that.

  23. dakoo
    Member
    Posted 1 year ago #

    What WPBook does is alter the permlinks to point to the posts inside your Facebook app rather than on the blog - it changes the domain to apps.facebook.com/your_app_name/ and then appends the permalink (like /2010/05/23/your-blog-post/) to that.

    In other words, it should be changing this: http://theviolent.net/poetry/deeper

    Into this: http://apps.facebook.com/theviolent/poetry/deeper

    When you post a comment you should get redirected back to your Facebook app not your site.

    Well mine won't get converted but i get redirected back to my Blog post.

    FaceBook App
    http://apps.facebook.com/rushikeshblog/

    FB Home
    http://www.facebook.com/pixelkeeda

    Blog
    http://www.rushikesh.net/?p=82

  24. giant slayer
    Member
    Posted 1 year ago #

    I believe I have gotten the links working. I still, however am not able to get the application to post to my fan page.

    I have=>
    1: added the app to the page.
    2: granted access to publish content to my wall.
    3: clicked the permissions link from wpbook.
    4: permissions link shows "theviolent.net (136789689670650), This page has granted stream.publish permissions to this app. "

    When posting to the fan page, the following error is generated.
    "Caught exception: Requires user session"

    Thanks for the help you have given.

  25. johneckman
    Member
    Posted 1 year ago #

    I believe there's another thread on this same issue - not clear to me why some folks are hitting it and others aren't, but a couple of people have been helping me troubleshoot, so I hope to have a patch release soon

  26. johneckman
    Member
    Posted 1 year ago #

    If you'd like to try the dev version go to http://wordpress.org/extend/plugins/wpbook/download/ and grab the "development version" from the bottom of that page.

    Once installed, go to WPBook settings - you'll see there's now a place to enter the target pageID, just like the target userID.

    Let me know if that works for you (it already works for me)

  27. giant slayer
    Member
    Posted 1 year ago #

    I'll give it a try. Thanks for all your help. And sorry for all the trouble.

  28. giant slayer
    Member
    Posted 1 year ago #

    Works great!! Thanks for all your help.

Topic Closed

This topic has been closed to new replies.

About this Topic