WordPress.org

Ready to get started?Download WordPress

Forums

Shareaholic | share buttons & related posts
[resolved] Facebook share button not sharing the actual post (16 posts)

  1. Marcelo Pedra
    Member
    Posted 1 year ago #

    Hi there people. I recently asked for a website reindex here:
    http://wordpress.org/support/topic/you-may-also-like-links?replies=18

    But what I should added to the comment is the fact that Facebook buttons are retrieving and sharing incorrect posts from time to time.
    In the example below when you try to share the post, the Facebook popup will show a absolutely different post to share, and it's a pity, since this report was important for the community in my country.
    http://www.marcelopedra.com.ar/blog/2013/08/26/como-manejarse-con-el-nuevo-sitio-de-nic-argentina/
    What may this be happening?

    http://wordpress.org/plugins/shareaholic/

  2. Celeste - Shareaholic
    Member
    Posted 12 months ago #

    Hi again, Marcelo. I checked the Facebook share dialog both above and below your content on the linked page. The information does appear to be correct. Please, understand that our plugin has very little authority over the data that Facebook stores for a post. By default, our plugin does automatically set the og:image tag, but if you use a more expansive Open Graph plugin, you have the option to turn this feature off under Advanced Settings, but having more than one og:image defined does not cause any complications.

    You can check your Open Graph definitions by opening the 'View Page Source' tool on any page and performing a search for og:. The og:image tag we set is commented with <!-- Shareaholic Open Graph Tags -->

    When new content is posted to the web, Facebook scans the URL and extracts data that it caches and uses to identify the content, some of which is seen when sharing or liking the page. If you ever run into a problem with what data is shown when using the Facebook share button in our plugin, open the content's permalink and check if the shared data matches what appears when using Facebook's official bookmarklet. The information should be exactly the same, because when you interact with our button, it redirects you to the same sharing submission form on Facebook's server where Facebook loads their cached data into the dialog (image, title, description).

    Now, if the sharing information Facebook loads conflicts with the Open Graph data that appears in your page source, please run the URL through Facebook's Debugger Tool to force a new scan of your content so that any changes which have been made will be cached and applied during shares and to also check for any errors that need to be corrected in your Open Graph Meta Tags. This tends to be a quick way to resolve any Facebook-sharing issues.

    Hope this helps!

  3. Marcelo Pedra
    Member
    Posted 11 months ago #

    Great! Excelent explanation Celeste. I will try the official tools you mentioned. I noticed that this misbehaviour in the links within Facebook sharer button occurs often when you schedule a post an then open the preview link. Looks like if the post is not already published, something is messing in the Facebook cache.
    I also noticed that this bad behaviour happened both in two scenarios:
    1) WordPress site with Shareaholic counters and facebook official plugin used for Recommendations Bar.
    2) WordPress site with Shareaholic counters and Alex Moss' plugin Facebook Recommendations Bar.

    So, as you said, this bug is probably related to how Facebook cache information about scheduled posts. Maybe this bug is solved now that I can see the today's upgrade in the Facebook official plugin:
    http://wordpress.org/plugins/facebook/changelog/
    They say "Improve social publisher compatibility with scheduled posts."

    I will be testing this in both scenarios, with shareaholic, and with/without Facebook official plugin.

    Thanks!

  4. Celeste - Shareaholic
    Member
    Posted 10 months ago #

    Hey again, Marcelo :)

    Sorry that it took so long to get back to you. Things have been SUPER-BUSY! Facebook runs regular crawls of content around the web (think of it like a search engine bot). I believe that the newer the post, the more frequently it will be crawled, while older data may just sit around a little longer before Facebook refreshes what's stored on their end.

    As soon as a page is published, Facebook grabs the data, but I don't know how this works with drafts as they aren't yet officially published. And because using the debugger prompts a recrawl of the page, the best way to see what Facebook has stored is to use the Facebook share button in our plugin and compare it to Facebook's bookmarklet output. It does come down to Facebook crawling your site, and if the Facebook story is incorrect frequently right after publishing, their bot could be running into a problem with the initial scan, which I'm sure Facebook would be able to provide you with more detailed information. :)

  5. Marcelo Pedra
    Member
    Posted 10 months ago #

    Hello Celeste, thanks for coming back to this issue. I updated the plugin in my websites so I will give it a try. I have to schedule several posts for this week so I will take a close eye to this.
    I hope this is solved now.
    Just hold on a couple days please; I'll let you know about my findings.
    Best regards

  6. Marcelo Pedra
    Member
    Posted 10 months ago #

    Hello Celeste, I continue seeing the issue. When you go see a preview of an actually scheduled post, a post which have not yet been posted, sometimes the counter for Facebook is showing several likes... and if you click on the Facebook sharer icon, it will show a completely different article in other URL of the site and even taking an image from yet another post of your site. Madness.

    The only way I found to fix that is
    1) only previewing drafts, before scheduling actually, or...
    2) using the Facebook Debugger to polish that details. Which is annoying when you publish several posts.

    And in regards to Related Content I will look for my other forum thread cause I'm still having issues with it.

  7. supermillo
    Member
    Posted 3 months ago #

    Hi, I've got the same problem.
    This is the post:
    http://www.upgradeyourmind.it/autostima/autostima-aumentare/
    If I try Facebook Debugger everything seems right, if I paste the link on my Facebook page i get the right picture, but when I use the shareaholic button in the post I get the wrong picture.
    I've tried specific plugin, i've pasted function code in functions.php file, I've reduced picture size but i didn't succeed.

    I don't know how to solve this issue.

    Thank

  8. devinemily_shareaholic
    Member
    Plugin Author

    Posted 3 months ago #

    @supermillo - Try checking what your open graph image tag is for that post - instructions here. You can specify which image represents the page as well with these instructions.

    Let me know if that doesn't help!

  9. supermillo
    Member
    Posted 3 months ago #

    Hi,
    I checked my page source and I found:
    <meta property='og:image' content='http://www.upgradeyourmind.it/wp-content/uploads/2014/03/Importante.jpg' />
    which is the correct picture, but when i try to share my post using shareaholic button I got another picture used in the post.

    Thanks for your help

  10. Shareaholic
    Member
    Plugin Author

    Posted 3 months ago #

    @supermillo can you point us to the page which contains this code?

    <meta property='og:image' content='http://www.upgradeyourmind.it/wp-content/uploads/2014/03/Importante.jpg' />

    It's not on http://www.upgradeyourmind.it/autostima/autostima-aumentare/

  11. supermillo
    Member
    Posted 3 months ago #

    Sorry, you're right this is the right page:
    http://www.upgradeyourmind.it/time-management/importante-urgente/

    I've tried facebook debugger and share preview shows me the right picture.

    Thank you for your help.

  12. Shareaholic
    Member
    Plugin Author

    Posted 3 months ago #

    @supermillo, that's great!

  13. supermillo
    Member
    Posted 3 months ago #

    But if the share preview is correct why if i try to share my post using shareaholic button on this page:

    http://www.upgradeyourmind.it/time-management/importante-urgente/

    I get the wrong picture? :-(

  14. Marcelo Pedra
    Member
    Posted 3 months ago #

    I noticed something alike. Facebook Debugger grabbing the right image, but the sharer is choosing another one.

    @supermillo: do you use any other plugin like WordPress SEO or even the official Facebook plugin? Because both them also use to add their own open graph tags.

  15. Shareaholic
    Member
    Plugin Author

    Posted 3 months ago #

    @all we're going to be releasing an update this week which *should* fix this issue. We've built in a feature which will automatically ask Facebook to clear its cache for the page when a post transitions state to "published" (ex. scheduled -> published). This should fix the "page not found" issue as Facebook should always have the most up to date scrape for the page.

  16. Marcelo Pedra
    Member
    Posted 3 months ago #

    @Shareaholic: sounds great. I wasn't scheduling posts due to this issue making posts look unproffessional in social networks :(, but if you make it work, it will be a relief.
    Best regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.