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.
Related
Hi guys I am working on a project:
the client's goal is to let user simply share the photo on their facebook wall with some fixed message. and the project is simply a website, no login is needed, user will just come to the machine and take a photo and click to share to facebook account, of course user will be required for permission to let my website to access his fb account.
so what should it be? simply the like button? or maybe something more tricky like using the Graph API? I am still reading on it at the moment since I am really new to Facebook. Please give some hint.
By the way I may use wordpress for my backend
Thanks!!
First you will need user to give your app permission to post on the wall, next after the photo is taken you will need to post it on user's wall using Graph API (you can find out how to do that here)
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?
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.
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.
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...