Can Facebook's API Show Friends of Friends? How Does Jelly Do It? - facebook

I know that Facebook Connect allows a web site to browse their actual friends. Does it allow us to look down into their second layer of friends (their friends of friends)?
This article appears to say that you can (that the Jelly app does just that... without needing your friends to be on Jelly in order to see down to your friends of friends).
Quote From Article: Begin by connecting to at least one social network (right now, Facebook and Twitter are the only ones available). Part of what makes Jelly stand out is it also links you to friends of friends, so you can still connect with other users, even if none of your Facebook friends or people you follow on Twitter are using the service.
Thank you!

Related

Facebook API - Friend List

I searched the internet the whole day for this, and came to the conclusion that there is no way to get a user's full friend list since API 2.0 (correct me if I am wrong).
What I want to do is, given the app user and another facebook user, generate a report about their "second level" mutual friends. That is - (friends of mine) who are friends with (a friend of his). Illustration:
Is this kind of thing possible after facebook's restriction since API 2.0 in any platform (Different SDKs, Facebook's Graph API, etc)?
Many Thanks.
This would be the API: https://developers.facebook.com/docs/graph-api/reference/user-context/all_mutual_friends
There is no way to get friends (or users in general) who did not authorize your App. Every list you get will only include users who authorized your App.

Facebook connect and share application for website (like 9gag)

I'm creating a website where users can make reservations on certain restaurants, I want the whole page to be integrated with Facebook since you log in. And when the user makes a reservation Facebook will automatically post the reservation on the users Facebook so other may see it in their home page (just like an activity of 9gag).
Any help please!! I'm a programmer but it's the first time I try to integrate Facebook.
If you start with Facebook, this is where you should go:
https://developers.facebook.com/docs/
For login:
https://developers.facebook.com/docs/concepts/login/
Also read the terms and conditions of facebook, there are some important rules for apps.

Facebook SDK iPhone, friends list

I have one question.
I want to share photos from my application via facebook.
There is no problem to share it on my wall, but is there any possibility to share it on friend's wall ?
Something like click share button, log in, choose friends and share it on their wall ?
I have been searching application in appstore which can do that, but i found nothing.
You can post to a user's friend's feed using the Graph API, assuming the user granted you the relevant (publish_stream) permissions.
POST /[friend]/feed
message=hello&picture=http://...
I should stress strongly that users consider this very spammy behavior for apps, and it is not generally recommended.
Source: https://developers.facebook.com/docs/reference/api/post/

How can I get user's best friends throught Facebook Graph API

I am designing an App for iPhone and I want the user to share my App to his or her best friends. Now I can get user's friendlist throught Facebook Graph API. But how could I find user's best friends? I have an idea that I can use the user's wall to find which friend often appears on the wall. However, some pages and famous people like Obama always appears on the wall. Could someone give a feasible solution?
Define “best friends”, please.
If that is supposed to be something based on the user’s personal perspective at the very moment – then probably best to just let them choose their “best friends” the want to a request to themselves via a simple multi-friend selector.
Or are you referring to a user’s list of “close friends”, the default friend list on Facebook that every user can add friends to? That’s available via API, check the /me/friendlists connection. https://developers.facebook.com/docs/reference/api/FriendList/

Check whether user of non-facebook app likes/shares particular URL on FB

I'd like to know if there is a possibility to check (using Graph API or any other way) whether given user likes / shares a specific link. Probably I'll have this user's facebook ID or facebook login, but my site is non-Facebook application. Actually it's Dot Net Nuke portal (target: .NET with MS SQL Server) with part of it being avaliable as Facebook app, but certainly not greater part of it, so the solution should be out of Facebook Connect, although it's not a showstopper if it's necessary.
We'll be giving points to users who share/like most of links that we serve in our portal and such possibility would be a great help to make a ranking.
Another option we consider is making some kind of "wrapper" or proxy for FB like / share buttons which will at first save some data in our database (probably - this user clicked on like for this link) and then go on with standard FB like / share route. Did anybody of You tried such solution?
If You have any other suggestion on the subject, please, post them, we'll be really thankful.
It is possible to know if a user has LIKED a site or not. You can get all user's likes with Graph API (you need user_likes permission). Take a look at the docs: http://developers.facebook.com/docs/reference/api/user/
I'm not sure if you can know if he has shared your site, but you could try by parsing his wall with the read_stream permission and then look for your site name/URL post by post.
For just general liking of items on your site, you can use a Facebook Social Plugin. However, you won't be able to associate (or really even access) user activity with users on your site without integrating Facebook Connect and creating a Facebook application for your site. At that point you can design with greater control all the possible user activity and interleave with your facebook calls other calls that affect users' accounts on your site.