« Previous (Older) Post: Try Rollip (With Free Credits)
Next (Newer) Post: Beta Testing WPBook 1.5 »

WPBook 1.4 Released

Tagged with: , , , , , , , — John @ 11:21 am

(Update 1/14 – now 1.4.2. Fixes detailed in readme – Admin side javascript issue, issue with submitting comments for folks who install wordpress files in a subdirectory different than their root URL)

(Updated 1/5 – it’s actually 1.4.1 now, as there was a typo in the theme/index.php file – get_exteral_url should be get_external_url).

Last night I packaged and released version 1.4 of WPBook, the plugin I maintain which creates a view of your WordPress blog as a Facebook application.

(For example, see Open Parenthesis as a blog, and then Open Parenthesis as a Facebook app).

Highlights of this release


As you can see, this was really more of a bug-fix and code cleanup release, with one experimental functional addition (pages). The one feature I didn’t get to but wanted to was threaded comment support (as in WordPress 2.7 and later). Would users want to be able to set threading differently inside Facebook than outside it? (I’m thinking that WPBook should just follow the settings in the blog it is installed to, with respect to threading – and perhaps gravatars as well, given how integrated with WordPress gravatars have become).

The next version will be more of a “feature set” release, and will also be the first version to require PHP 5. Although Facebook only officially supports a PHP 5 client library, I’ve been supporting PHP 4 by relying on an open source PHP 4 Facebook client.

The problem is that many of the operations most requested by users rely on Facebook API calls which sometimes fail. The PHP 5 client handles this by throwing exceptions, which WPBook needs to catch – something PHP 4 can’t do.

What’s coming in 1.5

Here’s my tentative roadmap:

  • Threaded Comments – which may mean upping the minimum WordPress to 2.7 for simplicity’s sake. Given that we’re at 2.9 now I think that’s ok.
  • More work on Pages. Need to be able to list pages not to show inside Facebook, enable user to set page depth, maybe even show the top level pages as Facebook style tabs across the top of the application? (tricky inside an iFrame app)
  • PHP 5 required – this will allow me to trap “uncaught exceptions” which sometimes occur when users submit new blog posts. It’s a cosmetic error but a really ugly one which it happens, and as I use more and more Facebook calls it may happen more often.
  • Publish to Facebook’s Stream.publish API when a new blog post is published – this is the most commonly requested feature. (Is it fair to assume the blog author is also the owner of the Facebook application? I had assumed so but that may not be the case – may require the user to enter his/her Facebook UID in WPBook for publishing to the stream)
  • Enable publishing to the wall of a Facebook “page” as well as a userwhen a new blog post is published.
  • Enable users leaving comments to also publish to the Facebook stream- has to be at the user’s discretion, but WPBook could offer to publish comments both to the stream of the user publishing the comment and to the blog author’s stream.

What else would you like to see in WPBook 1.5? (Not that these aren’t enough).

I’ve also got to start thinking about WordPress 3.0 and the merge with the WPMU codebase, and what impact that has, but I’m hoping that can wait for WPBook 1.6.

5 Tweets

Trackback url for this post: http://www.openparenthesis.org/2010/01/04/wpbook-1-4-released/trackback

62 Comments for this post
  1. BandonRandon says:

    Great work John,

    One thing I hope to be working on and rolling out is the localization of the client side of WPBook. I think with Facebook and WordPress both available in so many languages this is something we should try to incorporate. I’m not sure I want to localize the admin side of the plugin just yet but eventually that’s a goal as well.

  2. Twitter Comment


    WPBook 1.4 released (#Wordpress) [link to post] – Creates a view of your blog as a #Facebook app; I use it, it works well for me

    – Posted using Chat Catcher

  3. Buddy says:

    This is awesome.

    I already have an idea on how I will be implementing in my IM model. Thanks for working on this! I wish I was as gifted at PHP as many WP people are. My days were spent in Assembler and Cobol.

    Continued success to you!

  4. BandonRandon says:

    John,
    Looks like we missed a bug I’m not sure the best fix for this but i found a “hack” solution:
    http://wordpress.org/support/topic/348292?

  5. Jan says:

    An integration with Alfresco would be nice

  6. Looking good, sir! When’s the timeline for 1.5? I’m pumped up about the stream addition.

  7. alfin says:

    it’s a great plugin ! thanks a lot mr.eckman :)

  8. I have successfully installed the plug in and now have an opperating FaceBook application at:
    http://apps.facebook.com/amusebook/

    Everything is going as planned but i am looking for advice regarding the css or formatiog of my page.

    Maybe WordpressMU and BuddyPress will be causing some issues, but hopefully i will have some luck including some more of the BP nmenu items as if they were in fact WP pages.

    • John Eckman says:

      The way WPBook works is by substituting in its own theme when the user is viewing the app inside Facebook.

      So you can edit the files in wpbook/theme/ – the css lives inside the default folder in the theme folder.

      The challenge is that when new releases of WPBook come out, if you use the automated update, your changes will get overwritten.

      In other words, if you do customize the theme, make sure you store a backup – you’ll need to merge your changes in again with each new WPBook release.

  9. Nice work John. I build a lot of flash objects and integrating them into a brand on facebook is nothing short of a monumental task to keep others “branding” away from our own. Your plug-in takes care of all of this in many ways and I was stupified to see that my disqus commenting system works right inside. That being said, I tried to place this comment on your blog via your own install and wp denied it saying name and website we’re required which don’t show up as fields in your blog on fb. My disqus works seamlessly with your system right inside facebook. kudos to that.

    I manage several companies online facebook and twitter presence and I have 2 questions before I really start integrating those.

    1. I have sucessfully added open parenthesis as a tab in several test pages but the fb squiggle comes up, then to a blank page. The “wpbook” powered blogs themselves work fine but it seems right now you cannot replicate them within the timeline on the page you put the tab. comments?

    2. I’ve been tearing into how to create a tab for my apps and it seems you have done this nicely although considering (1) above it may be a moot point until that’s resolved. Could you share specifics about how you did create the tab, from reading the documentation it appears to be an application of it’s own which gets pretty confusing. Would you mind sharing with us instruction on how this is done? I’m sorry if this has been covered elsewhere but I’m at a roadblock.

    Sincerely,
    Stuart Liedtke

    • John says:

      Hmm. That’s interesting – I did make a change in the way comments are submitted in 1.4 – wonder if that is somehow imposing different requirements. More testing to come there.

      Adding tabs is complex and unsupported by WPBook, as tabs *can only contain FBML*.

      What you can do is add a WPBook powered blog to your profile (as a person or as a page), which adds it either to the Boxes tab or to your wall (at the option of the user whose profile it is being added to).

  10. I really love wpbook,
    I made http://apps.facebook.com/coruscateuniqueshop/
    to show our products via fb, i edit the template so user can browse with my own way.
    I have good idea, what about give notification for users everytime we update our blog.
    I want to make something like that, but I don’t understand any fb apps language

  11. John this plugin looks awesome!
    Could you help me with a code question asap?

    i’ve installed the newest WPBOOK and no matter which way i code it I still get an

    ?fb_sig_in_iframe&wpbook=comment-handler
    error of some kind
    either it dosn’t process or the screen just goes white.
    everything else seems to work fine.
    the app link is

    http://apps.facebook.com/invvote/

    any info would be awesome!

  12. Moshe Neeman says:

    John,

    I really love WPBook! (1.4.2; WP 2.9.1) But getting a page long of error messages in the Page’s tab where the (remote) website content is supposed to be imported to. Like these:

    Errors while loading page from application
    Parse errors:

    CSS Error (line 9 char 8): Unrecognized at-rule or error parsing at-rule.

    FBML Error (line 133): illegal tag “body” under “fb:tab-position”

    FBML Error (line 793): illegal tag “object” under “fb:tab-position”

    FBML Error (line 793): illegal tag “param” under “fb:tab-position”

    FBML Error (line 793): illegal tag “param” under “fb:tab-position”

    FBML Error (line 793): illegal tag “param” under “fb:tab-position”

    FBML Error (line 793): illegal tag “embed” under “fb:tab-position”

    FBML Error (line 795): illegal tag “object” under “fb:tab-position”

    FBML Error (line 795): illegal tag “param” under “fb:tab-position”

    FBML Error (line 795): illegal tag “param” under “fb:tab-position”

    FBML Error (line 795): illegal tag “param” under “fb:tab-position”

    FBML Error (line 795): illegal tag “embed” under “fb:tab-position”

    FBML Error (line 1416): illegal tag “noscript” under “fb:tab-position”

    Runtime errors:

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “script”: App exceeded maximum number of script references

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “script”: App exceeded maximum number of script references

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    HTML error while rendering tag “script”: App exceeded maximum number of script references

    HTML error while rendering tag “link”: There is a hard limit of 2 css link tags on profile tabs in order to remain under the IE 31 tag limit.

    Cannot allow external script

    (Sorry to load your page with so many…)

    An earlier version of WPBook worked well until it stopped… and I was really looking forward to this one. It’s exactly what we need…

    Also, with this version, while going to the App profile (if that’s the right term) I was able to see the content imported from the origin website just fine. Somehow, it fails to load properly into the FB Page Tab. In fact, it went to Boxes and was OK in a box, but I wanted it going to a Tab, and the output is as you see above.

    I imagine it’s just my settings that are incorrect somewhere…

    Last question: might it be because I don’t know what to put in Profile Tab > Tab URL ??? I now have it blank… I followed your instructions fully, and I think correctly. But this one box is not covered.

    Would very much appreciate your advice. And thanks for a terrific app!

    Best,
    Moshe

    • John says:

      Moshe – what’s the url of your app in Facebook?

      Generally errors like this have to do with trying to force HTML where only FBML is allowed.

      When you say

      in the Page’s tab where the (remote) website content is supposed to be imported to

      I’m not sure what you’re referring to. If you are trying to put your blog on a Facebook Tab, note that Facebook Tabs only support FBML content and no iFrames – therefor WPBook will not work there.

  13. Moshe Neeman says:

    John,

    Sorry for not being clear enough!

    The app on FB:
    http://www.facebook.com/developers/editapp.php?app_id=251645067579

    The Tab you’re asking about is the tab I created on the page where the content from the website is supposed to be ‘dropped off.’ I called it Content, and here it is:

    http://www.facebook.com/pages/Israeli-Occupation-Archive-IOA/425291775155?v=app_251645067579&ref=ts

    So, you’re saying it won’t work in a tab – which may be the very problem I’m experiencing. Not sure why, but my impression (from reading something) was that it was going to work in a tab. Obviously, I’m wrong…

    Is my only choice, then, to have it in a ‘box’ under Boxes? Do I have other choices/’sub-choices’?

    Like:

    - Can I isolate the container (box) in a separate tab and rename it so that it will be more obvious to the Page visitor what’s inside?

    -Is there a way to have it in a box on the left margin of the Wall of the page?

    -Can it be part of the Wall content itself? (If so, I hope it can have an Expand/Collapse button option.)

    As you can tell from my questions, I’m new to FB… I’m pretty good with html, and ok with WP, but totally new to FB. But I can follow instructions pretty well.

    Thank you very much again for responding, and so fast!

    MN

    • John says:

      Got it. The current WPBook does not support Facebook “tabs” as those are restricted to FBML only, which means I’d need to strip content from the blog posts to get them to show up.

      What you get is the ability to see the posts on the Facebook Application itself, at a url that looks like: http://apps.facebook.com/applicationname/

      Where the application name is what you gave in the Facebook settings when you setup your app. (I can’t go to the URL you provided as your application’s URL as that is the developer’s view – the users view will be the equivalent of http://apps.facebook.com/openparenthesis/ which is my blog).

      What you can do is move the box from the Boxes tab out to your profile, or add the box to your Page – following the PDF/HTML directions included with the plugin. (See, for example, our Optaros page, and at the bottom of the left column in that page the “Open Parenthesis” box.

      In terms of having the content as part of the Wall itself – ie, posted into your activity stream, I’m working on that for 1.5.

  14. Moshe Neeman says:

    John,

    Thanks again for your excellent advice!

    I now realize that when I remember seeing the content inside a tab… it was, indeed, in an earlier version of the application which I named similar to the page name itself: “Israeli Occupation Archive – IOA” Here is the page:

    http://www.facebook.com/pages/Israeli-Occupation-Archive-IOA/425291775155?v=wall

    Given my existing Page name (above, whose username will change to something more user- friendly once there are 25 fans), and my preference to display the content in a larger format…

    QUESTION: How do you suggest incorporating an App display with an existing FB Page?

    From a usability and outreach/’marketing’ standpoint, it would seem counter-intuitive to duplicate the Page with an App page that is similarly (but not exactly) named, no? It seems to me that it would make finding the Page even more difficult, and returning the reader from the App to the Page very challenging.

    On the Boxes option: I seem to have deleted the Boxes tab. Not sure how to restore it other than via creating a static FBML tab app (which I just found when searching for a solution)… but FBML might not agree with your great App, no?

    QUESTION: Can I re-size (enlarge) the Box in the Boxes? If so, I just need a Boxes tab…

    I don’t mind displaying the content in a small box on the Page. Can I have a link at the bottom of that profile-box that takes me to the Boxes tab, for better viewing?

    AND, can I have *both* profile-box and Boxes tab displaying the same content at the same time? If so, what would be the address of such tab on the link I add to the profile-box?

    OR, if I were to recreate your App with a name similar to that of the Page (not my preferred solution – because it would be difficult to ‘return’ the reader to the Page…), and added a box on the Page profile, can I link from that box to the larger format App display?

    Didn’t mean to burden you with so many questions… Please answer only what/when you can…

    Thanks again,
    MN

    • John says:

      You can’t change the size of boxes in the boxes tab, or in the wall (left column under the page’s picture).

      The box by default shows the 5 most recent posts and links to the application view for the longer version – you can see the profile box in the left nav of my profile or of this page – clicking on a post title there brings you to the Facebook application view of that post.

      If all you want to do is post notices when you publish a blog post, use the Notes app provided by Facebook and set it to import your blog’s RSS feed – for this you don’t even need WPBook.

  15. Moshe Neeman says:

    John,

    I hope you can see the page below.

    I just ‘found’ this… obviously, a product of WPBook and I got there from the Applications page – but not sure how (sorry, I know it sounds dumb…)

    http://apps.facebook.com/israeli-occupation/

    Now, to recap the above, THIS is what I’d love to have: this is *perfect* Can you think of how I can incorporate this, more or less, into the Page I have set up (address above)?

    Thanks again!
    MN

    • John says:

      The page you “found” is the Facebook App created in the process of setting up WPBook. That page is a facebook application view of your blog content.

      The problem is you cannot put that in the Page you have setup, as it is an iFrame application.

      What you will be able to do in later version is get the excerpts of blog posts into your page’s wall, pointing to the application for full text.

  16. Alainkun says:

    How about to be able to post in your FB and get that posted in your blog? That will be nice!

  17. jonolan says:

    Overall this is a wonderful plugin! I love it.

    I’m having one small issue though. The box created on the Facebook user’s profile is not automatically updating to the latest post.

    The main part of the app http://apps.facebook.com/murkypond updates correctly, but the profile “box” doesn’t do so until the user goes to the application itself.

    Any help – or correction of an ID10T error on my part – would be appreciated greatly.

  18. Pierce says:

    Hey John,

    Thanks for your help. What you said totally worked.Thanks for takin’ the time out to check. If you’ve got the time i’ve got one other question. I’m needing to add a bunch of other FBML elements which isn’t a problem however every element I add ends of getting squished or cut off. I was wondering there a certain CSS element in WPBook that controls either padding or something similiar. I’ve messed with nearly css element I can find but havent had any luck. additionally any elements I add seem to get over ridden. Any thoughts? Thanks for an incredible plugin!

  19. Lara says:

    Hi John,

    I a a bit new to wordpress, and have absolutely no idea how to install the plugin so that I can put my blog on Facebook, I have done the facebook side of it, but no idea about this side.

    I might be blind but I can’t even see the plugin to install. FYI I am not a coder or developer, just a regular facebook user :)

    Thanks,

    Lara

  20. Moshe Neeman says:

    John,

    Thanks again for your help. You said:

    What you can do is move the box from the Boxes tab out to your profile, or add the box to your Page – following the PDF/HTML directions included with the plugin.

    May I have the link to the “PDF/HTML directions” – looked for it both here and on the WP plugins pages and can’t find.

    I learned from our discussion that what I really need is the ability to automatically post the blog excerpt on FB – you said ver 1.5 will do it.

    Any sense when 1.5 might be available? If soon, I might just wait.

    Thanks again,
    MN

    • John says:

      Moshe – the link is provided in the plugin itself.

      Go to your wordpress dashboard, logged in as an administrator.

      Go to Settings->WPBook

      At the top of that page in the section “Setting Up your Facebook Application” there is a link for “Detailed Instructions”

      Or, download the plugin at the plugin repository, unzip it, and look for the pdf version in the plugin folder of the download.

    • John says:

      Also, 1.5 will go into Beta release hopefully this week, should hit a “stable” release sometime in February

  21. This is too slick to miss. I posted above but I wanted to show you something amazing. I redirected my canvas page to a “deep integration” of bbpress with one of my wordpress blogs – you can see the app here http://www.facebook.com/tribe12flat and navigate to the application itself which is running from the plugin. You have to enable “smart sizing” in the fb app to get this to work properly or the page won’t scroll.

    Doing all this was easy, however deep integration of bbpress is pretty tricky.

    Thanks John for your great plugin!

    • John says:

      Thanks Stuart – glad it is working for you.

      The idea behind setting the size of the iFrame in Facebook to “resizeable” rather than “smart size” is actually to avoid the scollbar – Facebook javascript automatically will resize the iframe to the content length.

      If that resizing is failing (making the iframe contents longer than the size of the iframe, essentially cutting off content), you likely have a javascript error – check the error console.

  22. sorry, wasn’t thinking, firebug.

    • John says:

      Yes, firebug. There’s a Facebook provided javascript that is called from the index.php in the theme:
      FB.CanvasClient.startTimerToSizeToContent();
      It loads when the iframe is finished loading and resets the height of the iframe to fit the content, eliminating the “scrollbar within a scrollbar” effect.

      But it is finicky. If other javascript erros happen on the page they can prevent that call from firing.

  23. Moshe Neeman says:

    John,

    THANKS! I finally got it to work properly… :-)

    Eagerly awaiting ver. 1.5 – we definitely need the excerpt rolling into the Page Wall.

    A couple of tiny comments on possible improvements:

    1. It seems that when entering a link in the Custom Footer box, starting with http:// it ends up not as a live link… It would be nice to have yet another opportunity to direct the viewer to the original website/blog article page.

    2. Not sure whether it’s possible to have the app running in *both* a FB tab and on the Wall. Might be useful.

    3. Not sure whether it’s possible to have the app running on both a Profile and a Page at the same time. I know I’d like to do that…

    Thanks again!
    MN

    • John says:

      Yep – 1.5 will be a major leap forward. I’m testing betas now.

      1. Hmm. Have you tried entering the full html (a href= and all) for a link?

      2. Right now you can’t have the app running in a FB tab at all. FB Tabs only allow FBML.

      3. You can add the application to multiple pages and multiple profiles – it is designed to be added to all your blog readers’ profiles.

  24. Moshe Neeman says:

    John,

    1. Well, I started without the href and got a dead link… Now, I enter the following in the custom footer box:

    Posted on %date% at %time%.
    To view this and all other articles, commentaries, and much more, go to: http://www.israeli-occupation.org

    When I save it (still within WP, WPBook app setting page), it turns to the following:

    Posted on %date% at %time%.
    To view this and all other articles, commentaries, and much more, go to: http://www.israeli-occupation.org

    Note the extra slashes in the link, resulting in a working link leading to a 404 error…

    I tried keeping the trailing slash after the domain name and it made no difference.

    Is it something wrong I’m doing?

    Thanks again!
    MN

  25. izabael says:

    http://wordpress.org/support/topic/356409?replies=1

    I opened a thread there as your requests above.

  26. Moshe Neeman says:

    John,

    Obviously, my explanation didn’t go thru properly, but I think there’s a real problem…

    Here I go again:

    When I enter the following into the Custom Footer box:

    Posted on %date% at %time%. <br />
    To view this and all other articles, commentaries, and much more, go to: <a href=”http://www.israeli-occupation.org”>www.israeli-occupation.org</a>

    After I Save the WPBook settings, it changes the above into the following:

    Posted on %date% at %time%. <br />
    To view this and all other articles, commentaries, and much more, go to: <a href=\”http://www.israeli-occupation.org\”>www.israeli-occupation.org</a>

    Again, note the extra slash \ after href= and after .org

    You can also see it on the FB end on the following post entry – I believe it should be visible to all FB reader:

    http://apps.facebook.com/israeli-occupation/2010-01-25/hamas-attack-mubarak-over-new-gaza-wall/

    Please go to the footer of the post displayed on this FB page and hover over the link. While hovering, observe the url address that shows at the bottom of your browser (status bar) – it has them extra slashes that point in the wrong direction [ \ ]… which you may be able to see above now that I used the < instead of the < to define the link.

    So, I may be doing something really stupid, or there might be a problem wheh WP saves the custom footer that includes a link.

    Thanks again!
    MN

  27. Moshe Neeman says:

    Follow up to the above:

    When you hover on the link on the FB end, you can see that the link is bad in a number of ways, not just the slashes. Somehow, rather than taking the viewer to the homepage, the homepage url gets added to the page address. I wonder how that happens.

    Thanks again,

    MN

  28. Installed 1.4.2 Everything works perfectly, except the recent post links. My permalink is using %category%/%postname% but in facebook the url is not resolving properly. It keeps adding empty frames within frames when the page tries to load.

  29. Follow up. I had Permalink Redirect Plugin active. After deactive the URL was resolving properly in the FB Recent Post section.

  30. Moshe Neeman says:

    Hi John,

    Still have the bad link problem – the one that’s created at the custom footer box in WP. You can see it on this page, at the footer of the post. I left it ‘live,’ but twisted, so you can view it:

    http://apps.facebook.com/israeli-occupation/2010-01-28/noam-chomsky-foreword-to-howard-zinn-a-radical-american/

    Thanks again!
    MN

  31. Peter Strohmeyer says:

    @Moshe Neeman

    Use this at your own risk. I have not tested it very much.

    plugins/wpbook/theme/config.php

    in the function custom_header add
    $homeurl = ''.get_bloginfo('url').'';
    after the line that starts$permalink around line 103.

    then

    add $custom_template_header = str_replace("%homeurl%","$homeurl","$custom_template_header"); after the line for $permalink about line 136.

    Upload the file to the plugins.

    Then add %homeurl% in your footer.

    Use at your own risk. I am not a trained PHP programmer.

  32. Peter Strohmeyer says:

    try again on the first code to be added.

    $homeurl = \'\'.get_bloginfo('url').\'\';

  33. Peter Strohmeyer says:

    grrr.

    one more time

    $homeurl = '\'.get_bloginfo('url').'\';

  34. Peter Strohmeyer says:

    haha, shakes head.

    $homeurl = ‘‘.get_bloginfo(‘url’).’‘;

  35. Peter Strohmeyer says:

    $homeurl‘ <a href=”‘.get_bloginfo(‘url’).’”>’.get_bloginfo(‘url’).’ </a>’;

    • Peter Strohmeyer says:

      blah,finally got it all correct

      $homeurl = ‘ <a href=”‘.get_bloginfo(‘url’).’”>’.get_bloginfo(‘url’).’ </a>’;

      • Peter Strohmeyer says:

        One more reminder.

        Save a copy of the original config.php if your a novice in case of something going wrong.

        If this function is not added by developers, you will have to repeat these steps in the future every time you upgrade.

    • Moshe Neeman says:

      Peter,

      Thanks very much!

      Because I’m not too comfortable with php…
      and I’d need to re-patch it each time the plugin gets updated… I’m going to skip this one.

      I hope John gets a chance to review the problem
      and then he’ll see whether it’s in the current
      code or a problem of my doing.

      I’m leaving the faulty custom footer code for a while longer.

      Thanks again, Peter, and MANY THANKS! – John…
      MN

  36. ryan says:

    I couldn’t get my site to scroll so I replaced some code with this at the bottom of themes/index.php

    FB_RequireFeatures(["CanvasUtil"], function(){
    FB.XdComm.Server.init();
    FB.CanvasClient.startTimerToSizeToContent();
    });

  37. justin says:

    thanks for the great plugin.

    i do have a problem, i can’t seem to get the scroll bar to come up in facebook, nor will facebook resize its own page to match my blog. i have all the settings as posted, iframe, resizable, etc, but no luck. i’ve played around and set all the options to something else in hopes of fixing it, as well as tried ryan’s tip for the theme/index.php file.

    if i keep the options as outlined, you *can* scroll if you use the down/up arrows on your keyboard. not exactly ideal tho.

    thanks!
    justin

    links: http://www.verywhitenoise.com
    fb: apps.facebook.com/verywhitenoise

  38. John Eckman says:

    @justin – generally this means you have a javascript error.

    In your case I get an error about FB_RequireFeatures not being defined.

    Not sure why that may be happening, but usually it means that the Facebook JavaScript has not been loaded – are you running any plugins which try to check the parent href url? (Redirect, request rewrite, frames busting, etc?)

  39. justin says:

    @john – thanks so much for your reply. i do have a redirect going on w/ the URL. changing the canvas setting to the true home fixed it!

    thanks again.

  40. mike says:

    I look forward to seeing the 1.5 release and the posting to Page walls. Good work!

  41. Bcrawl says:

    I just installed and tested the plugin briefly and every thing seemed to work smoothly. Eagerly waiting on the 1.5 release.

Additional comments powered by BackType

« Previous (Older) Post: Try Rollip (With Free Credits)
Next (Newer) Post: Beta Testing WPBook 1.5 »
About Me

Open Parenthesis is a blog about free and open source software, next generation internet strategy, and the assembled web, written by John Eckman (me).

John Eckman

I'm a Sr. Director at Optaros, a professional services firm offering strategy, design, development, and consulting services to enterprises interested in leveraging free and open source software.

Optaros Labs

More about me

More About Open Parenthesis

Contact Me

John Eckman on LinkedIn

Optaros

Optaros Blogs
Creative Commons
Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.
Lifestream