开发者

Login to Facebook using Oauth 2.0

开发者 https://www.devze.com 2023-04-06 21:21 出处:网络
I set e开发者_运维技巧mail & pass account in a file php, i want it login automatically when i call the file from browser or comand line, then i get the state for success or failed login, Could you

I set e开发者_运维技巧mail & pass account in a file php, i want it login automatically when i call the file from browser or comand line, then i get the state for success or failed login, Could you help me, please!


There are two options:

  1. Use the Facebook PHP SDK to perform the authentication: https://developers.facebook.com/docs/reference/php/

  2. Use the Server side flow outlined in this Reference (the code sample is in PHP) : https://developers.facebook.com/docs/authentication/server-side/

0

精彩评论

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

关注公众号