简体   繁体   中英

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

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 right 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM