[英]Post to my page wall from server with no interaction on my behalf
I've spent a lot of time researching answers on SO and other sites with no avail, so it's time to ask by myself. 我花了很多时间在SO和其他站点上研究答案,但都无济于事,所以该是我一个人问的时候了。
I want to post to a Page I am an owner, without doing any authentication in the browser - I want my server to automatically login, get all required access tokens, get permissions and post to the wall. 我想发布到页面,我是所有者,而无需在浏览器中进行任何身份验证-我希望服务器自动登录,获取所有必需的访问令牌,获取权限并发布到墙上。 No popups, no redirects, it should be able to do it with no supervision, for example as a CRON job running for months. 没有弹出窗口,没有重定向,它应该能够在没有监督的情况下进行操作,例如,作为CRON作业运行数月。
Is this even possible to accomplish this? 这样做有可能吗? I can store my user credentials on the server, it's not a problem for me. 我可以将用户凭据存储在服务器上,这对我来说不是问题。 The best I've managed to find is the 60 days access token but it's far from perfect. 我设法找到的最好的方法是60天的访问令牌,但这远非完美。
You can do this through cron job, you just need the verified access token to work offline. 您可以通过cron作业来完成此操作,您只需要经过验证的访问令牌即可脱机工作。
For getting the access token, go through this discussion: Error validating access token 要获取访问令牌,请进行以下讨论: 验证访问令牌时出错
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.