tags:

views:

2164

answers:

4

I noticed when I visit photo printing websites, they ask you if you would like to import your photos from Facebook. How do they do it? Does Facebook provide API to import users' photos?

I am mostly using PHP.

A: 

When I did it they logged in on my behalf (I put in my user/password) and navigated photo albums by expected HTML.

There were some legal things I had to "accept" and was notified of what they would do with my details.

Russell
A: 

I suggest you look at the FaceBook Developer APIs documentation site. I have no direct experience of it myself, but it looks to answer the questions you may have.

Specifically you may be interested in the RESTful API for retrieving information about photos in a FaceBook profile.

There are other RESTful APIs and other API's generally.

Deltics
+1  A: 
Pierre-Antoine LaFayette
A: 

function get_albums($uid) in the above code

is alwyas returning

string(0) ""

I am sending the right user id but not getting the album list or photo list.

Please reply..

Venkatesh