Check whether link has been shared by friends on Facebook? - facebook

Is it possible to check whether a URL has already been shared by a user's social network on Facebook?
I have looked at developer.facebook and the graph API reference. I can't see an obvious way to do it, but wondered if anyone had a work around?
Thanks

Related

Facebook sharing event answer

In facebook API 2.0, I found all the information how to create a Share button, but no information on how to find out whether the user shared or not? I found an option for the old API, but in the new it does not work.
Someone know? Is it possible and how?
I need to get the information the given user shared post/info from the site or not.
Thanks.

Facebook Permission For Use of Content

I am hoping a Facebook developer will see this and get back to me. I am working on a science fair project and wondering if it would be ok to download some of my friends profile pictures so I can write a program that use it for facial recognition? I have realized that Facebook's API does not support this when I tried to use the Facebook Graph Explorer API, but I just wanted to know to make sure that I have Facebook's permission to do so.
Just ask your friends for their profile pictures, no need to ask Facebook for permission
It´s very simple: do not use ANY data/media from anyone without authorization. That means, you can create an App, let your friends authorize it and then get the profile pictures of your friends. And you need to make sure everyone knows what you are doing with their data/media.
It´s not even just about Facebook, it´s a general data usage rule not to use anything from anyone without authorization.

Facebook - refer a friend

I'd like to enquire with the Facebook heads on here about how best to do the following:
I'd like to run a promotion from my Facebook business page that encourages users to recommend a friend in order to gain access to enter a competition. Obviously being in the Facebook environment it would be preferred to encourage Facebookers to refer friend's on their profile. Anybody know if there's an app out there (I've searched and not found) that does this? Does the Facebook API allow access to select specific friend(s) to notify on Facebook?
Thanks for your help & suggestions.
Yes, you need to have read_friendlists as an added permission to your facebook app.
From there I think you can do a FB.api() kind of call to get that information
Source
I think the requests dialog does what you were looking for?

Anyone know of a good tutorial for Facebook authentication?

I'm linking my app to Facebook, and would like people to log in with their Facebook account, but I can't figure out how to do this. I had read up on Facebook Connect, but it seems that that's not used any more - but every tutorial I can find seems to refer to it. When I try to follow them, it doesn't work, because the interface has changed.
So, can anyone direct me to a tutorial or guide to doing this the new way?
Basically, what I want to do is this:
A user who is signed into Facebook and comes to my webpage is automatically logged in to my app (with the usual Facebook 'granting permission' windows etc), or can sign in with their Facebook account if they're not already logged in.
I then want to use Facebook to link users with their friends who are also registered on my site, so they can share things.
I would also like to have access to Facebook comments made on wall posts from my site - so the comment stream for a particular post can be seen on my site as well as on Facebook, and comments can be made on either.
If anyone can point me in the right direction (or even tell me what I should be typing in to Google!) I'd be very grateful.
Thanks.
Some sample apps that do many of the things you speak of are shown here. The Graph API is probably your best bet right now for delivering the content and access you need and there are numerous tutorials online for how to use it, including the Facebook Developers site itself.
You will find good Tuts on ThinkDiff, e.g.
http://thinkdiff.net/facebook/new-javascript-sdk-oauth-2-0-based-fbconnect-tutorial/
http://thinkdiff.net/facebook/php-sdk-3-0-graph-api-base-facebook-connect-tutorial/
http://thinkdiff.net/facebook/graph-api-iframe-base-facebook-application-development-php-sdk-3-0/
I know this is an older question, but the current method for authentication is OAuth 2.0.
Facebook provides a pretty good outline of what steps are necessary in this Reference:
https://developers.facebook.com/docs/authentication/client-side/
This example allows the authentication to occur entirely in Javascript on the client side so that you can request a potential user to authenticate via Facebook and then confirm access to your application.
If the user is already logged in, only the access confirmation for your application is performed.
If the user is already logged in and access has already been granted, the user is not required to login, or reconfirm access.

Get application liker via graph api

How can i get all the facebook user id whose like my application via a graph api.
Please give any suggestion.
Like facebook fan page showing application liker randomly. I also want to access my application liker list and want to save in database.
Please tell me if any possibility? Need your suggestion...
Thanks
Sorry, I don't think that's possible for privacy reasons Facebook doesn't allow it. You need to get people who like you application to install and authenticate it before you can find out more about them. However, I do remember someone managing to scrape the fans of a page before so maybe that's possible for applications as well...