开发者

Facebook posting on the wall/page with login using Facebook Connect

开发者 https://www.devze.com 2023-01-26 05:28 出处:网络
I want a PHP script that logs into facebook with userid and password. posts on the wall of a page. Logs out.

I want a PHP script that

  1. logs into facebook with userid and password.
  2. posts on the wall of a page.
  3. 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.

0

精彩评论

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

关注公众号