Do Like buttons work with test users? - facebook

(This is perhaps a simplified version of a previous, unresolved post: How do I get my OpenGraph objects to be "liked" properly?), but, anyway:
I set up a page on my site with OG metatags to identity the page as type video.movie. The page lints properly.
A TEST USER clicks on the like button.
The button behaves properly: it dims, shows "like" with a checkbox, and increments the like counter (in this case from 0 to 1).
The user's FB profile page shows a "Joe likes this link" entry.
But:
None of the user's friends get an entry for this like in their feeds.
If I refresh the page containing the like button, the button goes back to its original state: "like" with a small Facebook logo, and with a like count of 0.
Running https://graph.facebook.com/fql?q=SELECT share_count, like_count, comment_count, total_count FROM link_stat WHERE url="http://the-page" returns zero for everything.
Running the page through the linter shows no likes in the Graph API representation (during any of these steps).
So this is definitely not working the way it seems like it should. Any advice? Is any of this due to my doing this with test users? Is there any reason that test users' likes should not persist across time? Or, will all this magically start to work when the site goes live with real people?

Related

How to get a list of a single users URL likes with FQL

I'm writing a php application that, in the back end, gets a list of all the URLs a single user shares and likes.
For shares it's easy and consistent - I run a FQL query request that looks like this:
https://graph.facebook.com/fql?q=SELECT+url,+title+FROM+link+WHERE+owner=me()
However, I would also like a list of URLs that a user "likes" by clicking the "Like" button on a page. I used to be able to do this with the following query:
graph.facebook.com/fql?q=SELECT+url+FROM+url_like+WHERE+user_id=me()
However, this seems to only give back the URLs that I liked within facebook by clicking "like". What I am looking for, is obtaining a list of URLs I liked by clicking the "like" button on its page. I am fairly use the url_like table used to give you that functionality, but not anymore
For example - the following link (used only as an example) has a like button - http://www.eventhubs.com/news/2013/sep/24/injustice-gods-among-us-106-balance-patch-notes-full-list/
I clicked the "like" button. It is now greyed out. However I can't find any evidence of this using FQL.
I am trying to figure out a way to see the links a user "liked" by pressing the button.
Thanks in advance

Facebook app like button shows like count but insights doesn't show any

I'm using the standard like button code on our Facebook app. This shows likes when you click it and increments as you would expect.
The page has all the correct meta data, app_id etc.
But in insights the 'likes' are always zero.
Anyone know if there is a setting I should look at or is this just another Facebook bug?

Facebook Like Button Count not equal to total_count in link_stat

I want to display a Top 10 page in my Facebook App. Basically it's an App where you can vote for DJ Mixes. I select the top 10 urls form the link_stat table over fql and there is the problem: the values of the total_count column in the link_stat table are not equal to the values which are displayed besides the like button.
Check for example:
Like Button: http://www.beatpatrol.at/mix/1020
FQL Request: http://api.facebook.com/method/fql.query?query=SELECT%20share_count,%20like_count,%20comment_count,%20total_count%20FROM%20link_stat%20WHERE%20url%20=%20%22www.beatpatrol.at/mix/1020%22
At the time i wrote this, the like button shows 779likes and the total_count is 752.
Is there a way to get exactly the value from the like button, so that I can order on this value?
Note that:
What makes up the number shown on my Like button?
The number shown is the sum of:
The number of likes of this URL
The number of shares of this URL (this includes copy/pasting a link back to Facebook)
The number of likes and comments on stories on Facebook about this URL
https://developers.facebook.com/docs/reference/plugins/like/
To answer your question, neither the formula of likes nor the Like Button look like being configurable. In my opinion, there is definitely no way to get the exact value from the like button.
A user can turn off all platform apps and hide himself from all applications. It looks like 5 of your friends chose to turn that off.
The setting is under:
Privacy Settings > Apps and Websites > Apps you use > "Turn off all apps"
May be this can be the reason why the exact no of likes are not coming.

Facebook "Like" Button no longer posting to wall since about 2 days ago

I have built several websites, and for some reason none of them will post to my wall anymore when I "like" a blog post, or like the site in general. (Using Iframe) Example:
http://madhatterulti.com/
http://www.reyniersaudio.com/blog/
The funny thing is, I had a friend try it, and it posted to his wall fine. Though, this person did not have timeline enabled, and I do.
Anyone have any ideas?
It appears the "like" appears in my "activity log". By default, the "like" is set to be "allowed on timeline". I am able to change this to "hidden from timeline". This setting implies to me that it should be showing up on the timeline.. yet it is not. Also, I can change the setting to "featured on timeline", but once again, this does not work.
It seems that the way the Like button works has changed (or not really!). I tried liking one of your blog posts and my own website and nothing appeared on the timeline. But reading the Like button introduction:
The Like button lets a user share your content with friends on
Facebook. When the user clicks the Like button on your site, a story
appears in the user's friends' News Feed with a link back to your
website.
And indeed, it appeared on my friend's news feed and ticker!
I suppose we cannot consider the timeline as the new news feed. Because it's not!
AND it seems that there are two ways a liked URL is going to appear on the user timeline which are
1) when the user has something to say, i.e when the user writes something along with the like:
2) if you click on the More Recent Activity block. And allow this activity to appear on your timeline.
Now maybe there are other cases (that I'm not aware of!) for a liked URL to appear in the user's timeline directly (maybe with custom Open Graph objects or a custom Facebook script that would decide for you?).
I linted one of your URLs and it states the the fb:admin and fb:app_id should be specified for better click-thru rates
Like Button Warnings That Should Be Fixed
Admins And App ID Missing: fb:admins and fb:app_id tags are missing. These tags are necessary for Facebook to render a News Feed
story that generates a high clickthrough rate
http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.reyniersaudio.com%2Fblog%2Frecording-computer%2Frecording-computer-cpu-benchmarks-sandy-bridge-nehalem-and-bulldozer-processors-compared
I have timeline enabled and it did no post to my timeline at all. Strange huh?
EDIT
Based upon some comments from Roeland on other responses:
The funny thing is, this worked about a week ago. It WOULD post to my
timeline. In addition, if I go to my "activity log" it shows that I
liked something. It also supposedly lets me "allow it on the timeline"
which is the setting by default.. yet it does not show up on my
timeline
I'm wondering if it could have something to do with too many people reporting the stories as spam, or the app id was hijacked and used for spam purposes (or the domain/ip being marked as abusive, etc). Maybe this has caused Facebook to become more cautious when "showing" this liked content. ifaour has seen the content on his feed and timeline, however I could not get it to show.
My concern is that no app_id was specified and not admin was specified either. You can reuse the same app_id with many comments/like buttons (contrary to your assertion that you must have a new app id for each like button...not sure where that came from).

Facebook Like Count Discrepancies - Page vs. Button

there is a huge discrepancy between the number of likes our page has received and the number of likes displayed when using the like button, and giving it the facebook page's URL (like button is much higher). Does anyone know why this happens?
As described in the doc :
What makes up the number shown on my Like button?
The number shown is the sum of:
The number of likes of this URL
The number of shares of this URL (this includes copy/pasting a link back to Facebook)
The number of likes and comments on stories on Facebook about this URL
The number of inbox messages containing this URL as an attachment.
I am a Facebook Partner Engineer working on platform. To bring your Facebook page Likes to your web page you should use the Like Box rather than the like button. This will allow you to gain Facebook page likes from your website while also giving you the option to show your page's stream stories right in your web site.
You can find out more about the like box here:
https://developers.facebook.com/docs/reference/plugins/like-box/
I hope this helps!
Jonathan
My understanding is the like button aggregates likes, comments and other interactions.
Basically the counter next to the button isn't the like count but an activity or interaction count.
You can get the actual like count through the graph api if you need it.