Facebook Graph C#SDK Ver 6.0:无法在App页面上创建活动 [英] Facebook Graph C# SDK Ver 6.0: Unable to create event on App's Page
问题描述
任何帮助甚至线索都将不胜感激。
有很多信息可供阅读:
https://github.com/facebook/csharp-sdk
注意:此SDK已被删除。我们知道如何长时间地支持它,它将被私有化。
And ...
大多数可通过Graph API访问的数据都需要访问令牌。此SDK不包括从用户获取令牌的方法,因为最佳方法将取决于应用程序使用的类型。例如,桌面应用程序可能会显示加载Facebook站点的弹出浏览器窗口。您可以在认证指南中阅读更多关于获取访问令牌的信息。
I am converting a fully working C# Web Application from REST API to GRAPH API, using FB C# SDK 6.0. I have been able to obtain access token and post event to my "personal" Facebook page without problem. But I need to post the event to the Page associated with my Web Application (for which I am the Admin). I am totally at a loss as how to obtain the required access token, and construct the "fbClient.Post" call to create the event. I could find no relevant example with the SDK. And I have spent many hours researching this and other forums etc.
Any help or even clues would be much appreciated.
A wealth of information is there for the reading:
https://github.com/facebook/csharp-sdk
NOTE: THIS SDK IS DEPRECATED. WE ARE KNOW LONGER SUPPORTING IT AND IT WILL BE MADE PRIVATE SOON.
And ...
Most data accessible via the Graph API required an access token. This SDK does not include a method of getting a token from a user, as the best method will depend on what type of application is using it. A desktop application might show a popup browser window that loads the Facebook site, for example. You can read more about obtaining an access token in the authentication guide.
这篇关于Facebook Graph C#SDK Ver 6.0:无法在App页面上创建活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!