I want to determine if two users (both using my app) have any mutual friends in common. The names/data of the users are irrelevant, the number of the mutual friends is irrelevant. I just need if two people have any friends on Facebook in common or not. The mutual friends may not be using the app, but the two ends ARE using my app. These were pretty easy in Graph API 1.0, but I'm wondering if what I'm trying to achieve is possible by any means in Graph API 2.0 or 2.1?
Determining if two app using users have any mutual friends in Graph API 2.0/2.1?
917 Views Asked by Can Poyrazoğlu At
2
There are 2 best solutions below
1
cck
On
Sorry to say, user A & B have to be friends if you want to use
/v.2.2/{user-id}?fields=context.fields(mutual_friends)
to check their mutual friends (e.g. C,D,E,F...)
I had double checked as @WizKid said, with the following sample:
1. A & B are friends, run the mutual_friends Graph API call ===> Found
2. unfriend A & B, run the same mutual_friends Graph API call ===> No data
3. Be-friended A & B again, run same Graph API call ===> Found
Related Questions in FACEBOOK
- Facebook Api - Albums/Photos/Comments
- How to get Facebook subscriber count + friend count
- Firebase facebook authentication not working
- Facebook iOS SDK 4 error info.plist
- Why don't any of my facebook share buttons work?
- Can't perform authentication through facebook with Parse
- PlayN and Firefox issues
- How do I stop the facebook send widget from going off the screen?
- Add extended permissions - Facebook
- Pass image, summary, URL to Facebook share button in ASP.NET MVC
- Facebook Open Graph Description in a message length limitation
- Facebook ShareKit image caption not working
- how to display Notification Count in iOS like Facebook
- How to estimate current situation of an old site not created by myself before i launch my new one?
- Facebook Graph API limit publishing to fan page
Related Questions in FACEBOOK-GRAPH-API
- Facebook Api - Albums/Photos/Comments
- Upload cover photo on facebook fan page
- Add extended permissions - Facebook
- How to get public facebook page's news feed contents without user authentication/access token?
- Facebook Graph API limit publishing to fan page
- Get the relationship status of user's Facebook friends
- Iterating over PagedList result retrieved from the Facebook Graph API
- wordpress : facebook comment
- Is it possible to Login to Facebook using Parse with publish_actions and email permissions?
- Facebook game invitable friends search box
- Encoding for html in Open Graph Facebook attributes
- graph api get public events with rails/koala works only for some sites
- Want to save facebook image into my rails app
- Calling FBSDKGameRequestContent: receiving the invite but not the notification in Facebook
- Facebook page redirecting based on current location
Related Questions in FACEBOOK-GRAPH-API-V2.0
- how to tell if user responded to my facebook request?
- How to retrieve Page main Category
- Facebook not recognizing open graph tag og:title
- Retrieve /feed or /tagged on facebook community pages
- Error calling graph API with access token from django-allauth
- Grap API - How can I update email address for a Page
- facebook Graph api fetch list of all friends
- How to display the facebook details automatically in android app as long as there is an active access token?
- Facebook API friends ids access on iOS
- Delete Post on Facebook Ruby Curl:Easy
- How to get a user's future app-scoped ID using their original ID before login
- OAuthErrors when trying to read a Facebook Page's messages
- Why is Facebook graph returning 0 likes for this page?
- How to get facebook user information using nodejs (oauth)
- Facebook public post search with API v2.0
Related Questions in FACEBOOK-GRAPH-API-V2.1
- Is it possible to limit publish_actions permissions to a single album?
- Facebook API - getting a token that never expires
- Liferay 7.0 Facebook Integration
- Get object comments with their author
- Facebook Graph API request groups access
- Is Graph API 2.x necessary to upgrade facebook php sdk from version 3.2.3 to 4.0.0
- fql is deprecated for versions v2.1 and higher
- Updating Facebook Graph API to v2.0 or higher
- How can I upload a photo to Facebook using Haskell?
- Determining if two app using users have any mutual friends in Graph API 2.0/2.1?
- Facebook API v2.1 - Identify Friends
- Facebook API Photo's SharedPosts
- Facebook Graph API 2.1 feed attachments
- FACEBOOK - c# UserID/feed GET post comments Picture URL
- Facebook graph-api field expansion
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Use the mutual_friends API. How to use it is explained at https://developers.facebook.com/docs/graph-api/reference/v2.1/user.context/mutual_friends