如何使用PHP SDK从Facebook获取我的所有照片? [英] How can I get all my photos from Facebook with PHP SDK?
本文介绍了如何使用PHP SDK从Facebook获取我的所有照片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是Facebook和PHP的新手,到目前为止,我设法连接到Facebook会话+权限,甚至获得登录的用户个人资料图片。
I am new to Facebook and PHP and so far I managed to connect to Facebook session + permissions, and even to get the logged in user profile picture.
问题si:如何获取所有登录的用户照片并选择一个随机的照片?
question si : how can I get all of the logged in user photos and pick one randomized one?
谢谢
推荐答案
$facebook->api('https://graph.facebook.com/{your_user}/photos?access_token=...');
这是从用户那里获取照片的api。
this is the api for getting photos from the user.
这篇关于如何使用PHP SDK从Facebook获取我的所有照片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文