Navigation

Pligg Support

Is anyone out there using the Facebook Share Button?

I have tried both the official HTML 5 one from fb and Chuckroasts module: "Facebook Sharer" both of which don't scrap the information properly. Some posts it properly pulls the titles, some it just uses my sites title. I have a tweet button which scrapes the links and titles perfectly. Anyone have any suggestions, on where to use it?

Possible Answers

    Twitter uses a different method of scraping than Facebook.

    Facebook uses what's called the open graph protocol. I've noticed that it's not very reliable and there really isn't much you can do on your end to make it work better. You can read about it here.

    https://developers.facebook.com/docs/graph-api/quickstart

    | Posted 207 days ago | Permalink | Hide Replies

    Thanks for the response Chuck,

    Any ideas on how I could at least make the scrapes consistent (ex. I dont need images or descriptions only title)?

    I have read around that adding these meta tags may help:

    Thanks for the response Chuck,

    Any ideas on how I could at least make the scrapes consistent (ex. I dont need images or descriptions only title)?

    I have read around that adding these meta tags may help:

    ( I removed the arrows )

    meta property="og:url" content="" /

    meta property="og:image" content="" /

    meta property="og:title" content="" /

    meta property="og:description" content="" /

    It works for one the share button in the header but not in the link summary

    However when I try to add them to the meta.tpl and then run it through fb debugger, it results in errors.

    Any suggestions where I should put them to have the info scrape for every story?

    | Posted 206 days ago | Permalink | Hide Replies

    From my experience Facebook has, and will never be consistent with it's scraping method.. You could add those meta tags into your link_summary.tpl file and then use the smarty variables in-between the quotes. It may work better for you, but it's not the best practice.

    | Posted 206 days ago | Permalink | Hide Replies

Who Upvoted this Story

Pligg.com's Support area is where you can ask questions and get answers. Just getting started with the Support area? This section describes tips for participating.

Submitting a Question or Comment

By taking a minute to research previous posts you may receive an answer much faster than waiting for a response to a new question. Begin by searching the support section for an answer. Sometimes you may even want to extend your search to the entire pligg.com domain.

If you are unable to find a relevant answer, submit a new question or comment here. Please provide a detailed description and, when necessary, debugging information such as your server environment (a link to a <?php phypinfo(); ?> .php page would be very helpful), your web browser, and any steps necessary to reproduce your issue.

Submitting an Answer

If you have an answer or useful response that you would like to add to a post, you can submit it as a comment which other users will then vote on. Answers are sorted by most popular to least, allowing the best information to climb to the top of the page.

Please read and vote for existing answers before submitting your own, as there may already be an acceptable answer provided. You can use the "Reply" link found within an answer to submit a response to it, in case you want to expand or comment on someone else's contribution.

Including Files or Code

Sometimes it is necessary for you to attach a file or include a snippet of code for others to reference in your response. In most cases, you can .zip up files and attach them to a question or answer using Pligg's file manager. At times though this may fail, and in these circumstances we recommend using a third party host. Below we are including a list of recommended websites where you can share easily share file uploads (or snippets of code) through the web.