Download photo from Facebook album - facebook

Is it possible and legal for a website to download and store photos from a Facebook album?
This the process that I'mtrying to achieve from my website.
A user browses to my website
My website uses the Facebook SDK to display the user's Facebook photos
The user selects photos
My website physically downloads those selected photos and stores them on the server that the website is hosted on.
I need to download these photos so that other users can see them.

It's technically possible if you ask for the correct permissions when you authenticate.
Facebook allows you to download user data (including photos) for purposes of caching.
There are a lot of responsibilities that come along with being able to download user data and rather than trust my interpretation, you should really read the Facebook Policy yourself.

Related

How to add blogger's RSS feed to facebook profile/page

I have a blog and I want that whatever is posted in the blog should get directly posted on my facebook profile/page. Basically I wish to post my blog's RSS feed to my facebook profile/page. I used RSS Graffiti to accomplish the task but somehow it seems like that isn't working.
You should forget about the user profile for that. First of all, you are not allowed to use the user profile for commercial reasons, it´s ONLY a user profile, for you and your friends, not a platform to advertise. And then there´s the problem with the Access Token. An Extended User Token lasts for 60 days, so you would have to refresh it every 2 months if you want to autopost stuff to Facebook.
Now for your Facebook Page, you can create an Extended Page Token that lasts forever. The rest is explained in the Facebook docs: https://developers.facebook.com/docs/graph-api/reference/v2.2/page/feed#publish
In general, you need to use a Page Token with publish_actions to post to the /page-id/feed endpoint.
Information about Access Tokens and how to generate and extend them:
https://developers.facebook.com/docs/facebook-login/access-tokens
http://www.devils-heaven.com/facebook-access-tokens/
At this point, Facebook does not let you add an RSS feed to automatically do that.
I would recommend using a tool like IFTTT which does it very well!
Facebook between 2009-2011 had a feature which allowed you to add blog feeds from any format to your profile so it would publish. It was later introduced into Facebook Pages and some how discontinued in the main profiles of users on Facebook, so that businesses appear as businesses and everyone else appears as everyone else, since currently on my profile on Facebook, my content from Flickr, Twitter, Google+, YouTube and my other accounts are automatically published to my main Facebook profile. This is because I signed up and started using Facebook in 2009 to the current date.
What really annoys me is that there is so much info online about how to do this but I have to say is that Facebook can easily adjust it's service to include RSS Feeds in it's platform through the app http:// facebook .com/apps/feed , which basically shows your updates from the games you play on Facebook, which is annoying that Facebook hasn't even got round to replacing RSS Feeds into profiles.
I'll send some support requests to Facebook (lets say tons of support requests) and I'll ask them to add it back in because other users are slightly annoyed. I'm annoyed with the childish icons that they have (including the icon for the Instagram app, which, yes, is owned by Facebook).
Another way is by connecting your apps that you use to your Facebook account by going to either the respective app in Facebook itself or by finding the setting Connect To Facebook in the Settings of your accounts on other Third-Party services. As an example, you can use PlayStation Network (PSN) by connecting your PlayStation account to your Facebook through the PS4 itself by going into Settings > Account Settings > Link Services > Facebook and then type in your login details, as usual. This will log you and keep you signed into your Facebook account on your PSN account. This means that everytime you interact with PSN by the associated Facebook service, your interaction is posted to Facebook based on the settings whether it's set to post as Private or Public. This means that everytime you play a game or decide to setup a Live Stream, your post is posted to Facebook from the PS4 automatically. Same method could also work with Blogger app for Facebook by connecting your Facebook to your Blogger account (in Google+ settings if you've switched to the new profile interface). So it's possible, yes, in other apps now more than before so it's also the reason for why Facebook probably removed Feeds.
If anyone wants to see my updates from my connected apps and connected data, you can follow my Public hashtag posts at http://facebook.com/search/top/?q=%23warrenwoodhouse and you can follow the same hashtag on every service available including PSN, Facebook, Twitter, Google+, Google Search, Google Images, Google Videos, YouTube, YouTube Gaming, Instagram, Flickr and other services. If you're interested in seeing my full feed updates, I've created a nice feed on FeedBurner at http:// feeds. feedburner .com/warrenwoodhouse

Upload photo from my system to company Facebook page without having users authenticate individually

I have an application where my staff upload photos for specific tours. My priority is to have the photos uploaded to my system to use in my site and product display. However, every time any of my staff upload a photo in my system, I want to send the photo to our corporate facebook presence. Preferably with a little story about each photo.
Everything I have found seems to require each user to log in with their own facebook accounts individually. Is there a way to code authentication with my facebook account details regardless of who the user is and then take the photo uploaded on my system using cffile and send it to our corporate facebook presence?
I would post code attempts here, but at this point I am still not sure if this is possible. Any guidance would be appreciated.
Thanks.....
posting photo with some text is possible on Facebook using your system. all you need to do is to visit developer.facebook.com and register an app and get the required authentication key. and follow documentation of graph API. ColdFusion Facebook SDK is also available on Git Hub. that makes you job more easy.

Can we track an image uploaded in Facebook?

This is the case, if we can track the images that we upload to the facebook page in order to known who download the images and located maybe the IP or the user profile.
You'd need to create a custom Facebook application that grabs user information based on the Facebook open graph for this. Users will have to allow your application to access their data first though. there is no way to track user information simply by uploading a photo on your wall/photo albums

How to use Facebook Photos in an iPhone App?

I have a client who wants to use their Facebook photos in an iPhone app. We want to embed their account into the app so that when people download the app, they see the client's Facebook photos. The user should not need to login or connect to Facebook.
This is different than the standard "connect to facebook so we can access you data" - we have no need to access the users data.
Do I need to create a Facebook App, connect the client's Facebook account to the Facebook app, then use that to get the photo data ?
Ok, here is what I found
My business page is http://www.facebook.com/pages/Feltpad-Web-Mobile/128861547181352
That number at the end (128861547181352) is the business' "Facebook Graph ID"
Then use the Business Graph ID and go to http://graph.facebook.com/128861547181352/albums and you will see a list of all of the Photo Albums associated with the business' page. There is only one album, so that is all the info you get. The first valuable line on that page says "id": "133208113413362" - this is the Facebook Graph ID for the album.
Then use the Album's Graph ID and go to http://graph.facebook.com/133208113413362/photos - this will give you a JSON file with all the data you need for all the photos in the album.
You can also use ?limit=25 and ?offset=50 or both ?limit=25&offset=50 to page through the results.
This should be easy. Facebook gives a public URL for albums that are public to be viewed by the Internet without necessity of logging in. You can see this URL al the bottom of the album page that you may want to share.
It looks like this:
Share this album with anyone by sending them this public link:
http://www.facebook.com/album.php?aid=[ALBUM_ID]&id=[USER_ID]&l=[SOME_PARAM]
(quoted from a public album)
you can easily leach data and extract images from there.
However it is more sane to create a Facebook app (takes hardy a minute) and use Facebook graph-API to make REST calls to retrieve all the data about albums and photos within them in well formatted JSON that will be far easier to handle the HTML. Once you have Facebook App in place, you may use it to fetch all the FB data but it violates both of your requirements (1)Not using Facebook app, and (2) user don't have to sign-in.
But it may worth looking at
http://developers.facebook.com/docs/api
http://developers.facebook.com/docs/reference/api/album
Well, there is some trick. If you go to the API page(http://developers.facebook.com/docs/api). Copy the URL given for Coca-Cola album (https://graph.facebook.com/99394368305) and make a request with photos REST command like https://graph.facebook.com/99394368305/photos you can access all the details of all the photos in the album in JSON format. I could not get it work for my personal public album though.

Facebook Connect and Photo Albums

I am currently developing a site for models/actors, and at this point I am just trying to ascertain what I can and can't do with Facebook Connect (I have virtually no experience in using Facebook Connect or FQL).
Basically there is going to be a facility whereby users will be able to upload their pictures. I want to know is it possible to use Facebook Connect to get the user's photo albums, in order to save the user from re-uploading all the photo's that are already on FB?
If so, do I/should I LINK to these photos, or FETCH them from Facebook and save a copy on my server?
EDIT: Just to clarify, this is what I want to do:
User will register on my site and agree to associate their Facebook ID with my site.
I then want to present the user with a list of all their albums that are on Facebook, the user can then select which albums they want to display on my site.
(optional) The user can select which specific photos in each album they want to display on my site.
Is this possible to do at all?
You can upload photos using the API. Check out this: http://developers.facebook.com/docs/reference/api/photo
If it were me, I would just upload the photo to Facebook and save the URL of the image rather than store it on my own server. You could do either one, but I don't see the sense is storing the image twice. The one issue could be if you wanted your photo at a higher quality than Facebook allows, but their quality is pretty high.