FB OpenGraph og:image not pulling images (possibly https?)

Some properties can have extra metadata attached to them. These are specified in the same way as other metadata with property and content, but the property will have extra : The og:image property has some optional structured properties: og:image:url – Identical to og:image. og:image:secure_url – An alternate url to use if the webpage requires HTTPS. … Read more

How to get share counts using graph API

Here’s a list of API links to get your stats: Facebook: https://api.facebook.com/method/links.getStats?urls=%%URL%%&format=json Reddit:http://buttons.reddit.com/button_info.json?url=%%URL%% LinkedIn: http://www.linkedin.com/countserv/count/share?url=%%URL%%&format=json Digg: http://widgets.digg.com/buttons/count?url=%%URL%% Delicious: http://feeds.delicious.com/v2/json/urlinfo/data?url=%%URL%% StumbleUpon: http://www.stumbleupon.com/services/1.01/badge.getinfo?url=%%URL%% Pinterest: http://widgets.pinterest.com/v1/urls/count.json?source=6&url=%%URL%% Edit: Removed the Twitter endpoint, since that one has been deprecated. Edit: Facebook REST API is deprecated

Facebook API: Get fans of / people who like a page

There is a “way” to get some part of fan list with their profile ids of some fanpage without token. Get id of a fanpage with public graph data: http://graph.facebook.com/cocacola – Coca-Cola has 40796308305. UPDATE 2016.04.30: Facebook now requires access token to get page_id through graph so you can parse fanpage HTML syntax to get … Read more

Facebook Open Graph not clearing cache

Go to http://developers.facebook.com/tools/debug Enter the URL following by fbrefresh=CAN_BE_ANYTHING Examples: http://www.example.com?fbrefresh=CAN_BE_ANYTHING http://www.example.com?postid=1234&fbrefresh=CAN_BE_ANYTHING OR visit: http://developers.facebook.com/tools/debug/og/object?q=http://www.example.com/?p=3568&fbrefresh=89127348912 I was having the same issue last night, and I got this solution from some website. Facebook saves your cache thumbnail. It won’t refresh even if you delete the thumnail/image from your server. But Facebook allows you to refresh by … Read more

What are the Steps to getting a Long Lasting Token For Posting To a Facebook Fan Page from a Server

Here are some steps you can follow to get a never expiring token for your fan page: Firstly, you need to get the long lived user access token (that expires in 2 months). To get this, make the following call: GET /oauth/access_token? grant_type=fb_exchange_token& client_id={app-id}& client_secret={app-secret}& fb_exchange_token={short-lived-token} More details here. Let me know if you had … Read more

How does Facebook Sharer select Images and other metadata when sharing my URL?

How do I tell Facebook which image to use when my page gets shared? Facebook has a set of open-graph meta tags that it looks at to decide which image to show. The keys one for the Facebook image are: <meta property=”og:image” content=”http://ia.media-imdb.com/rock.jpg”/> <meta property=”og:image:secure_url” content=”https://secure.example.com/ogp.jpg” /> and it should be present inside the <head></head> … Read more