简体   繁体   English

Facebook集成静态访问令牌

[英]Facebook Integration Static access token

I'm trying to use the facebook API on the backend of a website. 我正在尝试在网站的后端使用facebook API。 Essentially, I want to be able to create events using a Djano app and have it create the corresponding facebook events. 本质上,我希望能够使用Djano应用程序创建事件并让其创建相应的facebook事件。

The organization I am creating events for already have a facebook page. 我正在为其创建事件的组织已经有一个Facebook页面。 I only am concerned with posting events on that organization's page. 我只关心在该组织页面上发布事件。 I am the admin for the organization so I know all the login info. 我是该组织的管理员,所以我知道所有登录信息。

What I am am trying to figure out is how I can setup the access token such thatit just works for the organization without any need to login to the facebook app. 我要弄清楚的是如何设置访问令牌,以便它仅适用于组织,而无需登录Facebook应用程序。 I was thinking that setting a static access token would do the trick, but I cannot find anyway to do it. 我当时以为设置静态访问令牌可以解决问题,但无论如何我都找不到。

So, what is the standard way to create a facebook app that only interfaces with one predefined user? 那么,创建仅与一个预定义用户交互的Facebook应用程序的标准方法是什么?

Im not entirely sure what you're trying to do. 我不能完全确定您要做什么。 However the static access token has now been deprecated. 但是,现在已不建议使用静态访问令牌。 Do you want to: create an event for the person using the page, or for the company's page/profile? 您是否要:为使用页面的人或公司的页面/个人资料创建事件?

Hope I can help 希望我能帮忙

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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