更新多个Facebook帐户的状态 [英] To update statuses on multiple Facebook accounts

查看:103
本文介绍了更新多个Facebook帐户的状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在我的网站上单击一个发送按钮时更新多个Facebook帐户的状态.而且,当用户从facebook

How can I update status on multiple facebook accounts on clicking one send button in my website. And also status should also get update when user is logged out from the facebook

推荐答案

注销时,状态也应该得到更新.您是否已了解如何更新单个Facebook帐户?

查看facebook GRAPH API文档. (您需要登录Facebook来查看API文档.)

您需要让每个用户登录并授权您的程序更新他们的帐户.您可以请求授权的一件事是离线"权限-基本上是指延长发布时间的权限.我没有任何延长时间的第一手资料,但是我知道如果您在授权请求中没有包含"OFFLINE",则每次都必须获得很多授权您想发布一些内容.

一旦获得了授权将其发布到其帐户的用户列表,则只需要在按下按钮时遍历该列表即可.

这是您的问题,还是您实际上在问一个与如何在PHP中进行操作有关的问题?
Do you already understand how to update a single facebook acount?

Look at the facebook GRAPH API documentation. (You need to log into Facebook to look at the API documentation.)

You''ll need to get each user to login and authorize your program to update their accounts. One of the things you can request authorization for is "OFFLINE" permission -- which basically translates to permission to post for an extended period of time. I don''t have any first hand knowledge of how long an extended period is, but I do know if you don''t include "OFFLINE" in your request for authorization, you''ll have to get authorization pretty much every time you want to post something.

Once you have a list of users who have authorized your posting to their accounts, then you just need iterate over that list when the button is pressed.

Is that your question, or are you actually asking a question relating to how to do it in PHP?


这篇关于更新多个Facebook帐户的状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆