How can you get the Facebook Places API to show how many people have check in at a venue in the last 3 hours? - facebook

How can you get the Facebook Places API to show how many people have check in at a venue in the last 3 hours?

None that I'm aware of. The only data you can get from the API is in relation to the authenticated user (themselves and their friends). I've tried the API request though https://graph.facebook.com/PAGE_ID/checkins but I only receive my own or friends' checkins to that page.
Interestingly, it seems that this is at least available internally as evidenced by http://m.facebook.com/places/herenow.php?id=PAGE_ID

Related

How can I get photos 2 users are tagged in using the Facebook API?

I am using the Facebook API/Opengraph and want to get a count of the number of images 2 people are tagged in. One of the two people is the current logged in user, who I have an access token for.
Is this possible? The docs for the /user/photos endpoints are a little sparse.

Find locations of checkins from foursquare friends using v2 API?

How is it possible to get the locations of a user's friends nearby(within X km) with v2 or real-time user push of FourSquare API please?
And can those friends be the same friends as the ones from facebook account automatically added (for those fb friends of the user that also login with their fb account to 4sqr too), or, when a user joins 4sqr via fb can they register to an app using 4sqr API and then have that app specify somehow what his friends could be and make them all part of the same group whose last checkins could be searched?
In other words, I would like to list all nearby 4sqr friends that are in the same group (list?) along with a last time stamp of their checkins. Can this be done and how please? Which APIs should I use along with OAuth or something?
Based on the API docs (https://developer.foursquare.com/docs/), it doesn't seem that you'll be able to get the information you are looking for.
It looks like you'll be able to get real time pings when a user that is using your app checks in somewhere. But you can't get just any foursquare user's real time checkin events.
Unfortunately
I guess this is possible, at least until the Graph API v1.0 is still working (until April 30th, 2015), because then all the friends_* permissions will be removed. Have a look at the answer at
Facebook Open Graph API - action-type & object-type of another application (foursquare)
You need to request the user_actions:playfoursquare and friends_actions:playfoursquare permissions first (Reference).
Then, you should be able to request the checkins via
/me/playfoursquare:checkin_to
or
/me/friends/playfoursquare:checkin_to

How to get a list of people who have checked into a place in Facebook

I'm trying to use Facebook API to get a list of people who checked into a place.
When typing in the search box in Facebook UI People who have been to THE_PLACE I get a long list containing many people, also people who are not my friends or friends of friends.
However, when I try to get the same information from the Facebook API, I get a list that only contains my friends who checked in. The FQL I used is the following (and also some other variants that didn't do better): SELECT author_uid FROM checkin WHERE target_id = THE_UID_OF_THE_PLACE
Am I doing something wrong or is this simply impossible to get via API the same information I can access through the UI?
For privacy reasons, this is not possible at all. Also, FQL is deprecated. I have answered a similar question here: facebook graph API - get last checked users to place/page

Can we get post on friends wall and comments, likes on those posts

Can we get relationship status changes of our friends from last 3 days including present day
what my app requires is the data of the friends who recently engaged/married etc
AND
Anniversary details from last 3 days to next 15 days (may be this can be done by reading the friends posts on our wall with happy anniversary etc but how to get the friends wall post data posted by others using facebook api
and status updates of last 3 days including present day and comments and likes on those status updates
Graph API or FQL both are fine
I am using facebook c# sdk for my windows phone app
First of all, you must have some pretty … interesting … friends, if you’re interested in their relationship status changes for intervals of three days – or are you trying to build an app for finding rebound s*x partners …? ;-)
Well, as all of the user fields (except verified) are available for real time updates, that could be one way for you to get notified of such changes (and then put their “history” into your own database).

Facebook Graph API Returns Inconsistent Number of Friends With Facebook Profile

I've noticed that using the new Facebook Graph API to fetch friends of users returns a number of friends that is close to, but not always exactly, the number of friends displayed on the user's profile.
Documentation here: http://developers.facebook.com/docs/api
For example, on that page, I click on https://graph.facebook.com/me/friends, and see the JSON for 477 friends, whereas my profile page on facebook shows a count of 478.
Does anyone know why there is an inconsistency?
If you have friends that have opted out of the Facebook Platform, they will not show up in the API response.
After being frustrated by inconsistent friend count, I asked a former Facebook engineer about it. It's a known bug related to their usage of memcached, and is considered too expensive, difficult, or otherwise not worthwhile to fix for now.
My two penneth: I've noticed that the number of friends which is displayed in my profile fluctuates (by 1)! I don't know what the reason for this inconsistency is but I suggest you keep checking that number in your profile regularly and see whether it's the case for you as well.
In terms of the Graph API the discrepancy between the friend count in my profile and in the data returned by the API is 2.