I use graph API Facebook to get list of a place I have been there (https://graph.facebook.com/myuserid/feed?with=location) and return place id. And I want to know my facebook friends that ever been there too by place id. Is it possible?
This is not really available in the Graph API. What is possible is to get the friends which have been tagged at a specific place_id.
See
https://developers.facebook.com/docs/graph-api/reference/v2.4/page.context/friends_tagged_at
But even there you have the restriction that
Only friends who use the requesting app will be returned.
Related
I need to obtain my friends of facebook (who are using my app).
Example: I pass a parameter like "Jo" to Graph API, the Facebook must return to me all Friends like Jose, Jon, xxJoxx, etc.
I dont know if that its possible.
Thanks!
You can get all friends with /me/friends and implement your own code with autocomplete to do that. There is also the Search API, but you would need to do a LOT of API calls for an autocomplete functionality: https://developers.facebook.com/docs/graph-api/using-graph-api#search
...also, you donĀ“t just get friends with the Search API.
I am calling
2.5/firiend_list_id?fields=members
I always get an empty list back and not the members.
Does this still exist? Is there a way to get members of a friendList
Thanks
It will only return friends that are also using the app.
If you want to let your people tag their friends in stories that they publish to Facebook using your App, you can use the /me/taggable_friends API. Use of this endpoint requires review by Facebook and should only be used for the case where you're rendering a list of friends in order to let the user tag them in a post.
is there any way to fetch list of friends using facebook 2.0 API?
I was reading this upgrade from the API and it seems it is quite difficult to fetch the friends now,
but I have seen 2 permissions
read_friendlist
user_friends
Is their any way to fetch list of friends? and what about the widgets that get friends from facebook, will they go down?
In v2.0 of the Graph API /me/friends returns the user's friends who also use the app. You need to be granted the user_friends permission in order to get even app-using friends.
There is no way in v2.0 to get the full user's friends.
However, you may use the https://developers.facebook.com/docs/graph-api/reference/v2.0/user/invitable_friends API or the https://developers.facebook.com/docs/graph-api/reference/v2.0/user/taggable_friends APIs to get all the user's friends with tokens than can be used for tagging and inviting.
the read_friendlist perm doesn't get you a list of the user's friends, it gets you the list of a user's friendlists which may be used to build a custom privacy selector when publishing stories to Facebook.
As of 4/30/2014, you can only retrieve the friends who also use the app.
There are, however, specific methods for apps in the 'Game' category for inviting friends.
https://developers.facebook.com/docs/graph-api/reference/v2.0/user/invitable_friends/
I am new to Facebook's Graph API and FQL. I want small information about the same.
I want to get List of all pages liked by any particular user.
I have used Graph API just to allow user to get logged in with their Facebook ID and Can access their wall but don't know much about rest of the this.
I searched on Google for same but got information about list of pages that user administrate that I don't want, I want full list which is like by them.
It's a connection property of the User object.
https://developers.facebook.com/docs/reference/api/user/#likes
Is there any way I can get a Facebook user's unlikes?
I can get a users likes by using /{user}/likes.
But is there any way I can see what likes the user has removed from that list? Or is there any other way to track 'unlikes'?
There's no API call you can make that will give you a list of what a user previously liked, but now does not.