开发者

Login to Facebook API with known username and password

I want to build a script where I am logged in automatically with a PHP script, updates the status or w/e and then logs out. Using Graph API or FQL would be great was it not that I get a nasty pop-up that I need to login and allow the 'application'. I don't want this, I know my own username and password and simply want it to login immediately, do its stuff and log out.

Is this possible with the Faceb开发者_如何学Pythonook API? I don't really like scraping FB but they don't let me much choice though =/

So I want to login through a PHP script immediately to Facebook.

Thanks!


You can access the fb with email and password but its against fb tos. Check this link http://www.daniweb.com/web-development/php/code/290893/facebook-login-with-curl

If you want offline permission then Recent news from facebook, it doesnot supporting offline permission. :(

https://developers.facebook.com/roadmap/offline-access-removal/


nope, it is not possible to login with username/password using the api.

what you can do however is let the user grant the offline permission to your app, then you can achieve a similar effect. (e.g. i used that to create a simple command line status updater)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜