Support » Plugin: Jetpack - WP Security, Backup, Speed, & Growth » Publicize – Facebook link not displaying correctly

Viewing 15 replies - 16 through 30 (of 50 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    The Gravatar is pulled from the email address associated to the author of the post.

    Setting a Featured Image might be a better solution; this way, if some day you switch to a different theme that uses Featured Images, you won’t have to go back and set a Featured Image for each one of your posts.

    Hmm ok I’m not sure what’s happening then because my wife is the author of the posts but she has no Gravatar other than the default one set by wordpress so I’m not where it’s pulling my photo from. I’ll try using Featured Images but they’re easy to forget.

    Hello! The issue still exists with ?fb_source=pubv1 appending at the end of links on FB through WP publicize. This is quite annoying because the incorrect URL is carried over to other profiles/pages when shared. Then if you click the link from FB to my site and use the FB comment system it quickly proliferates the incorrect URL online. The kicker is that if the correct URL is shared it’s treated like a whole new post on FB.

    Any word about a fix would be awesome.
    FB Example link: http://www.facebook.com/SweetXposure/posts/394110754020348
    Website:
    http://sweetxposure.com/dancing-with-the-realtors-2013/

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    @alextheberge ?fb_source=pubv1 is indeed added by Jetpack Publicize, but it shouldn’t cause any issues with the way Facebook treats your posts URLs.

    Facebook themselves allow you to add parameters to your app URLs (see fb_source for example), but it shouldn’t cause any issue.

    These parameters can be useful because they allow you to track the sources of traffic on your site; you will be able to make a difference between people clicking on the Publicize links on your Facebook Page, and people clicking on user-generated links on their own profile.

    If you experience issues with Publicize links, could you give me more details?

    It does cause issues for me.
    Is there a way to turn it off?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    You can’t turn it off I’m afraid.

    Could you give me some details about your issues?

    Okay Mr. Herve,

    If someone clicks on the URL appended with the ?fb_source=pubv1 addition then shortens the link to twitter, is twitter going to treat the link as a correct back-link to my site? OR will my site, more than likely, treat it as a different/seperate URL? The same applies to all other sites that share this appended version of my purposely specified URL.

    I will have to use another service until this is resolved. I don’t want linters parsing info from the wrong URL unless you can tell me that the appended and normal URLs are treated interchangeably across all platforms and search engines?

    I specify a conical URL for a reason; this should be an optional addition. Will it be?

    Perhaps I can modify my .htaccess file to drop the added info. I’ll post what I discover.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    You can indeed use .htaccess to redirect your users to the correct URL. Here is an example:
    http://stackoverflow.com/questions/14479931/remove-parts-of-url-using-htacess

    But the links will always work, even if you add parameters from Facebook (fb_source), or from Google and Feedburner (utm_source) for example.

    I have a question related to this thread. When I “publicize” a link to FB, why when someone FB likes the link back on my WP site, doesn’t that like then show up on my FB page? Is it because the URLs are different???

    The URLs are different. The Facebook debugger sees that there is a difference if you setup open-graph correctly, but still treats the ?fb_source=pubv1 URL differently. Especially if that URL is shared to other social platforms, then it’s a useless URL that breaks track-backs.
    Even though the additional garbage at the end of the URL displays the page correctly it’s a huge caveat when people reshare from that URL to any other social platform. That ?fb_source=pubv1 becomes useless.

    OK, thanks. In this case, any idea how a WP link that’s liked from WP to FB can show liked on the FB too?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    When I “publicize” a link to FB, why when someone FB likes the link back on my WP site, doesn’t that like then show up on my FB page? Is it because the URLs are different???

    In my tests, Liking a Publicize post on Facebook increments the Facebook Like counter in your post on your site.
    However, Liking a post on a site doesn’t reflect on the number of Likes displayed under that post when you share it on Facebook. That’s not related to Jetpack though, that’s a common behaviour of the Like button.
    Try Liking a post with a lot of Likes, like a Mashable post for example. Now if you head over to your Facebook Page or profile, and share that URL, the Like count will be set to 0, although the post has been Liked hundreds of times already.

    I hope this helps.

    Okay so here’s what I found. This causes some other issues in wordpress queries, but I’m looking further into that. So far this is the best answer and I’m pleased with how it works. Word of caution, read the following post entirely first!


    Written by Brian Cray on March 18th, 2010

    “… query strings mess up things. On many social sharing sites, if I share http://briancray.com/ and someone else shares http://briancray.com/?query, the score will be attributed to two unique URLs instead of being recognized as the same URL.”

    RewriteEngine On
    RewriteCond %{QUERY_STRING} !="" #if there is a query string
    RewriteCond %{QUERY_STRING} !^p=.* #wordpress users: allow post tempalinks
    RewriteCond %{REQUEST_URI} !^/wp-admin.* #wordpress users: don't break admin
    RewriteRule ^(.*)$ /$1? [R=301,L] #remove query string
    Hope this helps someone else!
    -Alex.

    UPDATE!
    Here is an even easier alternative:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{QUERY_STRING} ^page=1$ #Checks for a query
    RewriteRule (.*) $1? [R=permanent] #removes it and makes a permanent redirect
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress,
    Cheers!
    -Alex

    rana2u

    (@rana2u)

    Jetpack is posting to my Facebook page, but the URL is ending like this: ?fb_source=pubv1. Why? This is not how it is supposed to look according to the Jetpack Publicize support page. How to fix it please? I don’t want to touch the rewrite engine or tinker with the code. This is how the link looks when I use Jetpack Publicize to post on Facebook. http://www.pressrun.net/weblog/2013/03/the-gift-outright-by-robert-frost.html/?fb_source=pubv1

Viewing 15 replies - 16 through 30 (of 50 total)
  • The topic ‘Publicize – Facebook link not displaying correctly’ is closed to new replies.