Facebook posting on the wall/page with login using Facebook Connect
I want a PHP script that
- logs into facebook with userid and password.
- posts on the wall of a page.
- Logs out.
Is it possible?
I am using php-sdk to post on the wall ri开发者_StackOverflowght now. But for that I have to log into my facebook account from the browser.
It violates facebook developers TOS.
The only possible way to authenticate user - is to use regular API and regular authentication form.
UPD:
You could ask offline_access permission from the user. After that you'll have permanent tokens and will be able to post any time you want.
精彩评论