开发者

Facebook Connect and Photo Albums [duplicate]

This question already has an answer here: Closed 11 years ago.

Possible Duplicate:

Fa开发者_如何学编程cebook Connect and Photo Albums

I am developing a site for models and they will be able to upload pictures.

I want to know is it possible to use Facebook Connect to get the user's photo albums, to save the user from re-uploading all the photo's that are already on FB?


Yes, it's possible. The process would look something like this -

  • prompt facebook connect / permission popup
  • on successful login, facebook gives you a user id and an access token
  • using that id and token (big string of numbers and letters) you can formulate a request the user's photos
  • loop through the result of that request, pulling out each photo URL and caption or whatever
  • use some kind of server-side language to save those photos somewhere.


The bigger challenge is how check if particular picture matches another one from the album? If you know solution to this problem then running FQL on photo and album tables should provide all the info about photos.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜