How to trigger Facebook like button from custom button?
According to facebook policy on Social Plugins point 4 states: “Don’t obscure or cover elements of social plugins.” You can’t change the image directly because it’s provided by Facebook.
According to facebook policy on Social Plugins point 4 states: “Don’t obscure or cover elements of social plugins.” You can’t change the image directly because it’s provided by Facebook.
<script> FB.Event.subscribe(‘edge.create’, function(href, widget) { alert(‘You just liked the page!’); }); </script>
Page metadata isn’t the sort of thing that should change very often, but you can manually clear the cache by going to Facebook’s Debug Tool and entering the URL you want to scrape There’s also an API for doing this, which works for any OG object: curl -X POST \ -F “id={object-url OR object-id}” \ … Read more
The best answer to this question from another forum, from Ash Rust in 2010: “After some testing and discussion with the Facebook platform team, there is no official limit I’m aware of or can find in the documentation. However, I’ve found 600 calls per 600 seconds, per token & per IP to be about where … Read more
Facebook has announced support for liking URL’s outside of Facebook by using the official built-in Like action. You need to have publish_actions permissions. The graph url for this is: https://graph.facebook.com/[User FB ID]/og.likes?object=OG_OBJECT_URL&access_token=USER_ACCESS_TOKEN However, you cannot use this to like a page on Facebook currently, as the documentation states: For Facebook Pages or websites that do … Read more
Short answer, you can’t. Once the object has been created on Facebook’s side its URL in Facebook’s graph is fixed – the Likes and Comments are associated with that URL and object; you need that URL to be accessible by Facebook’s crawler in order to maintain that object in the future. (note that the object … Read more
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
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