• Resolved stillingen

    (@stillingen)


    Hi.

    SFC Publish uses Standard permalink ′https://www.example.com/?p=123′, rather than the Postname rewritten URL / absolute SEO URL ′https://www.example.com/example-post/′. 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?

    https://www.surface.no/wp-content/uploads/2012/06/simplefacebookconnect.jpg

    https://www.ads-software.com/extend/plugins/simple-facebook-connect/

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

    (@otto42)

    www.ads-software.com Admin

    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 wp.me 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 bit.ly 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?

    Thanks

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    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: https://brandoncoppernoll.com/how-to-fix-the-href-url-must-be-absolute-facebook-like-button-error/

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    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.