I have successfully installed the facebook like button in iframe, but it seems like the "Likes" count is incorrect. I have tried liking a post from several accounts, and it always appear as only 1 like.
Any idea how to solve this?
I had a some "bug" with facebook like button.
First check yourt metas, and your og: properties. Put your url into a like button generator (http://developers.facebook.com/docs/reference/plugins/like/) and try to like your page. If the count is
Please try to change the like url to the facebook page, what is generator for your page to administer it. It was my solution to fix it.
Related
I have a problem to install facebook like button to my PmWiki site.
Some of pages work with the button fine but some not. I have tried to study the script got from facebook and found the span and iframe are all with 0 width and 0 height.
So I tried input the URL with problem to the like button plugin page: http://developers.facebook.com/docs/reference/plugins/like/
While I filled URL with problem like: http://www.newland-id.com/techwiki/index.php?n=Products.Products in the URL box of plugin page. I saw nothing on the right.
But same site some other pages work fine like above URL replace ?n=Products.Products to ?n=NQuire.NQuire.
I have also tried to report it to facebook bug, but that is funny I can not see create bugs button in the bugs page.
Please suggest or any body help me to report this bug to facebook?
I created a site and added a Facebook like button to it. Weeks later I realised that I would also like to have a Facebook page for the site. Good enough, except that when I create the FB page, it has its own Like count and its at 0. Is there anyway to integrate the existing like button with the new page?
URL likes and Facebook PAGE like are different things. So, I don't think its possible to migrate your URL likes to your FB Page.
I just created a Facebook page for my blog and am working on adding the like button. I suppose my first question is, is there already a like button added to a Facebook fan page itself and the code for the like button is so you can create a like button on a whole different page, like my Blogspot blog page? Since I'm the admin I'm not sure if I'm seeing whatever else is. If not, I'd like to add a like button to my Facebook page for people to like, but for the life of my cannot figure out where to paste the code. I know it says behind the tag, but that doesn't mean anything to me. Please help.
http://developers.facebook.com/docs/plugins/
On the Facebook page is a like button of course already integrated, on that page you can get code for your Blog or website.
Specifically, you're looking for this plugin:
https://developers.facebook.com/docs/reference/plugins/like/
Specify the URL you want the like button to like, whether that be your blog post or your facebook page.
You are looking for the facebook Like Box.
https://developers.facebook.com/docs/reference/plugins/like-box/
I've got a Drupal website with articles on them which have Facebook like buttons.
Now I've got all the OpenGraph metatags added on the pages and it's all working perfectly except for one thing.
Site visitors can share a page URL or like a page URL.
When a new article is added and the first person who presses the like button will not see the image added in the og:image tag.
If another person afterwards presses the like button, the og:image however is visible so it seems to me Facebook needs to scrape the page first before the og:image is added in the 'Facebook Like window'.
The Facebook share doesn't seem to suffer from this problem and does it right from the first time.
Now whenever somebody adds a new article, I'd need the URL of the article to be scraped automatically by Facebook using some PHP code or some other fix...
Anyone who knows if autoscraping a URL is possible or does anyone have an idea for a workaround?
You can use the graph API with scrape=true to force Facebook to scrape you right when you create your contents
https://developers.facebook.com/docs/beta/opengraph/objects/
I'm struggling with the Facebook API. What I want to do is to be able to look at a user's feed, see which web pages they clicked "Like" on, and then get the other users who like the same web page. I'm having two problems.
1) Whenever I get the feed of a user, all of the "Likes" are removed from the feed. Its very frustrating because its like Facebook will give me everything except for exactly what I'm looking for!
2) I can't seem to get a list of user IDs who like a certain URL. I've tried using FQL like this:
SELECT user_id FROM like WHERE object_id=114324145263104
As was suggested in another SO question, but that returned nothing on all of my attempts.
Does anyone know how to do this, or if its even possible? Thanks for your help!
There is a different query for getting the linkes of a url
SELECT url FROM url_like WHERE user_id = me()
In your case it is.
SELECT user_id FROM url_like WHERE url = "http://www.domain.com/"
I had the same problem. This is what i do
https://graph.facebook.com/URL
OR if you have multiple URLs click to
https://graph.facebook.com/?ids=URL1,URL2,URL3