When I use graph api to request the users friends data [Friends Data]:(http://graph.facebook.com/me/friends?fields=work,name), till 3-4 days back I used to get more data(work place information of my friends) than what I get now?
Is there any update/change happened recently in Graph API?
You probably forgot to set the permission today: friends_work_history.
Related
When user comments or reply to comments to a older post , in graph api how to get those feeds sorted by time.
Raised Bug to Facebook and here is the response
https://developers.facebook.com/bugs/469327419867332
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
I would like to know if there is a single API call in FB's graph API, which will allow me to get all the posts of oneself and their friends given the users ID and ACCESS_TOKEN.
Currently I am solving the issue by getting the ID's of friends for every user and the users access_token to get the friends feeds.
https://graph.facebook.com/friends_user_id/posts?access_token=my_users_access_token
This process is too tedious as I have to make this call for every friend. Is there a simpler solution ?
Well, I found the answer. The API is
https://graph.facebook.com/user_id/home?access_token=user_access_token
I need to count how many posts my friends has of a given period.
Is that possible to count status updates from friends through Facebook API?
You can just query the graph api on https://graph.facebook.com/USERID/posts
which will return an array with all the relevant info on each post. That should be enough to get you started at least.
Try the graph explorer here...
https://developers.facebook.com/tools/explorer/?method=GET&path=me%2Fposts
I am trying to get App Insights like Post Impressions, Clicks etc from my FB App Insight using Graph API and FQL but not getting any data. There response has a Empty Data array.
Any pointers on this?
Also, what would be the FQL to get the number of impression for any story by an app.
One thing I know, for some insights about a post of a Facebook fan page, a page needs at least 30 users(likes).
Then after one day your page insight data maybe showing up.