简体   繁体   English

从C#发布到我的Facebook时间线

[英]Posting to my Facebook timeline from C#

Can someone please provide me with the workflow required to be able to simply post a message to my Facebook page? 有人可以请我提供只需将信息发布到我的Facebook页面所需的工作流程吗? From what I have read, DotNetOpenAuth 4.1 does not support Facebook's OAuth 2.0 protocol? 据我所读,DotNetOpenAuth 4.1不支持Facebook的OAuth 2.0协议? If someone has a better suggestion for an OAuth2 library, I'd like to hear it and if you can provide an example of how to post a message to a Facebook page, that'd be great! 如果有人对OAuth2库有更好的建议,我想听听它,如果你能提供一个如何将信息发布到Facebook页面的例子,那就太好了!

Also, this is a Winforms application, not a Web Application. 此外,这是一个Winforms应用程序,而不是Web应用程序。

OAuth2 clients are simple enough to write that you almost don't need a library. OAuth2客户端很容易编写,几乎不需要库。 Try following the Facebook documentation yourself using HTTP calls in your winforms app and see if you can get it to work. 尝试在winforms应用程序中使用HTTP调用自己关注Facebook文档,看看是否可以使用它。

For client apps like winforms, the trickiest part can sometimes be that there isn't an obvious redirect URL. 对于像winforms这样的客户端应用程序,最棘手的部分有时可能是没有明显的重定向URL。

DotNetOpenAuth 4.x does support Facebook (by implementing workarounds for FB's non-compliance with the spec). DotNetOpenAuth 4.x确实支持Facebook(通过实现FB不符合规范的解决方法)。

I generally use ComputerBeacon Libarary. 我一般使用ComputerBeacon Libarary。 It is quite fluent 它非常流利

http://computerbeacon.net/library/facebookgraphtoolkit http://computerbeacon.net/library/facebookgraphtoolkit

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

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