Providing users with a way to detag their Facebook photos - facebook

I run a social membership club and my website users can log into my site with each having their own profile page.
On each of my user's profile pages, I want to display a list of photos which have been tagged with that user on Facebook. I know this part is possible.
The bit I am struggling with is giving each of my users the ability to 'untag' themselves in each photo of them that is displayed in the list. The 'untagging' should happen directly from my site. Is this possible and how could I go about doing this?
Hope someone can help/has ideas?

Unfortunately, there's no facbeook API that allows removal of photo tags at this time of writing.

Its not documented and I haven't tested this but I'd chance issuing a DELTE request to
/PHOTO_ID/tags/USER_ID
Worth a shot through the graph explorer anyway.

Related

How to add a "Facebook" button which allows users to select an image FROM Facebook and return it to my website

I have a Web-to-Print store where users can upload their own images. I need a way for users to be able to click a "Facebook" button, log in, and select one of their photos (which is then returned to our website).
This seems like it should be pretty easy and is extremely common on Web-to-Print sites, but I can't find any information on it and all searches resulted in uploading an image TO Facebook.
The Facebook API doesn't seem like it would offer a good user experience, and the SDK doesn't seem to support selecting and then pulling in an image. Is there no pre-made way to do this or Am I missing something?
There is no prebuilt function, you would have to authorize the user with the user_photos permission and use the /me/photos endpoint to get his photos: https://developers.facebook.com/docs/graph-api/reference/user/photos/

How to share a photo on facebook wall from a website?

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)

How to display my photo albums and photos that are in FB on my own website

I would like to display my photo albums and photos that are in FB on my own website. However everything I have tried requires an access token that I seem to only get if I login to FB. I don't want visitors to my site to have to login to FB to see my photos.
Is there a way to get this data and not require a login? I want to pull data from my own FB account. Or is there a different way to authenticate my access behind the scenes so visitors don't have to login, to see my photos?
Facebook has recently launched a way to share the album with public without having to Signin. Every album will have link below this key word Share this album with anyone by sending them this public link. Take a look at this HOW TO for more information.
EDIT: However, for embedding refer this SO which explains how to grant permanent access to your photo albums
Another option is using 8 photo restricted Facebook Photo Badge
Showzey seems to be working on liberating your photos and provides widgets.
Facebook has a badges page that has different options for embedding Facebook content onto your site. The photo badge should fit your criteria.
May be this method could help you guys.
You can do it through a public fan page or a business page.
I put this script together a while back: http://roughgiraffed.com/FBalbum/. Working on a more legit version - will post when complete.
You can combine galleria (open source javascript image gallery framework) with a plug-in to integrate with facebook.
You can find the links bellow:
http://galleria.io/
http://www.alexanderinteractive.com/blog/2012/03/display-facebook-photos-on-your-website-with-galleria/
I'm using this very nice plugin for Joomla. Take a look.

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.

Facebook Photo Contest App Against FB's TOS?

What would be possible/best practice for a Photo Contest app?
Saving photos to a database and refreshing the contents with an "infinite session"? Exporting photos to my site getting written consent from my user?
I've gathered that it won't be possible to present users with a number of photos to vote on because the permissions for user's photos will often not allow just anyone (the public) to view them.
I've looked at SnapIt! Photo Contest on Facebook and it appears they are successful with what I'm trying to do. Are they breaking the Facebook TOS?
http://apps.facebook.com/snapitphoto
I'm new to Facebook development and want to be sure it is possible to do what I want before I become very invested. Any advice would be much appreciated!
Thanks
You will need to get a facebook account representative to approve any competitions or sweepstakes. They may be able to guide you as to what you can and can't do.
If you upload a photo to SnapIt, then the photo is entirely under the control of SnapIt, and it shouldn't violate any of the Facebook rules that I am aware of.
But to be honest, you might want to check with a lawyer on that first, as I can't give true legal advice.