Support » Plugin: Simple Facebook Connect » [Plugin: Simple Facebook Connect] How to change SFC Publish from using WordPress post ID to relative

  • Resolved stillingen



    SFC Publish uses Standard permalink ´´, rather than the Postname rewritten URL / absolute SEO URL ´´. SFC Like on the other hand uses the Postname rewritten URL / absolute SEO URL. Using the Facebook iPad app or the iPhone Facebook app, these do not interpret the Standard permalink, directing the user to the main WordPress site, rather than the post that you wanted to publish/share. Where in the code should I look in order to change the behaviour of SFC Publish, to be the same as SFC Like with regards to URL shared/published?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Samuel Wood (Otto)


    SFC actually uses whatever the “shortlink” is. If you have the default setup, then the shortlinks are indeed the ?p=123 URLs, which get redirected to the normal ones.

    However, if you use something like Jetpack to get the shortened URLs, then it will use those instead.

    The reason SFC uses the shortlinks is because some people use shortlinks for tracking. I use the YOURLS code on my sites to create my own shortlinks, and then when people visit my shortlinks from Facebook, I get tracking information on them. Same goes for people that use custom shortlinks.

    The Facebook app for iPhones and iPads has no problems with these shortlinks that I can find. If you’re getting directed to the homepage, then you have some other code that is incorrectly interfering with the links for those devices. Perhaps a mobile plugin or something is causing the problem. Try disabling that mobile plugin or theme.

    I guess this would be the bool $leavename = true option in get_permalink ? for instance in simple-facebook-connect/sfc-like.php. Is this also the fix for the july migration of FaceBook?

    Will you be publishing a new version of your Plugin to comply to FB changes?


    Plugin Author Samuel Wood (Otto)


    kkoenen: SFC is already compatible, and nothing needs to be changed in it for FB’s july migration.

    Dear Otto, it seems like something needs to be fixed. My Like buttons desappeared since FB gave me this message on the page of my app:

    “XXX is currently using the following deprecated features:

    Social Plugins (Like Button, Like Box) without absolute URL’s in their href parameter.”

    Hw can I solve this problem? I found this, but I’m not sure it’s helping:

    Plugin Author Samuel Wood (Otto)


    SnakeEater: SFC’s like buttons do have an absolute URL in their href parameter and are working just fine, regardless of this incorrect message from Facebook.

    The Like Box widget may be broken in the future however.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Simple Facebook Connect] How to change SFC Publish from using WordPress post ID to relative’ is closed to new replies.