Support » Plugin: WPBook » [Plugin: WPBook] Missing slash in links on the Canvas Page

  • When looking at the Canvas Page, I see a list of posts.
    Each title has a link.
    Each link is broken because there is a missing space between the Canvas page URL and the permalinks structure that goes after that.

    Here is an example:

    On the plugin’s page, The Facebook Canvas Page URL doesn’t have a final slash because the documentation shows that it shouldn’t be there.

    So is this a case of updating the documentation or is there a slash missing in the code somewhere?

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


    When you set your site url in Facebook (canvas URL) did you include a final trailing slash there?

    Yes, the Canvas URL has a final slash (just like the tiny screenshot shows if I’m not mistaken)×232.png

    Plugin Author John Eckman


    @bandonrandon Are we not linking the smaller screenshots to their larger versions anymore?

    For fullsize, just eliminate the -300×232 from the end of the filename:

    Maybe you have a final slash in the WordPress->Settings->General->WordPress Address / Site Url? I don’t put one there, which makes my “base” one character shorter.

    Somehow the calculation that makes the permalinks (takes the full permalink, subtracts the core root from the WordPress URL, and concatenates to the canvas url) is failing – but it works fine in all my setups.

    You can see these functions in wpbook.php: fb_filter_permalink and fb_always_filter_permalink I believe.

    The blog is in a network and the “Domain” doesn’t have a final slash.
    The path is “/”, but I think this has to stay.

    The blog’s links are fine and it seems other plugins are getting the correct URL when processing a link, so I’m not really sure where to look.

    wpbook.php doesn’t have those functions.

    And regarding the screenshots, some are not linked to the bigger version anymore ;).

    I just wanted to add that the links posted on the walls are fine, it’s just the ones on the Canvas Page, which is odd since the config page on Facebook explicitly shows a trailing slash after our custom app name.

    Plugin Contributor Brooke


    @johneckman, I must have missed a few links to the larger thumbnails. I have updated the site to fix the issue. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WPBook] Missing slash in links on the Canvas Page’ is closed to new replies.