获取Facebook用户相册=>在网站上插入Mysql数据库的照片
问题描述:
Can anyone help me with a step by step sample on how to get Get Facebook user album=> photos and inserted into Mysql db on a another website using PHP
like some kind of import this facebook user's albums from facebook script for a website
Thanks
答
- Build a web server that can host your php and mySQL. Make sure you get a valid SSL cert.
- Research the Graph API's album to determine what data structure to implement. https://developers.facebook.com/docs/reference/api/album/
- Get a facebook app configured. https://developers.facebook.com/apps
- Play around with the graph API to understand your queries you will need to write https://developers.facebook.com/tools/explorer
- Use the PHP SDK to write your integration with Facebook https://developers.facebook.com/docs/reference/php/