使用Graph API c#unity3d访问Facebook的帖子等 [英] Accessing facebook for posts etc with Graph API c# unity3d

查看:80
本文介绍了使用Graph API c#unity3d访问Facebook的帖子等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经在MonoDevelop中使用Graph API与用户的Facebook页面进行交互。
$ b

这些是正确的步骤吗?


  1. 创建Facebook应用程序这里: http://developers.facebook.com/

  2. 使用应用程序ID和应用程序秘密编程访问令牌

如果是这样,我怎么从这个发贴到用户墙?



我做了大量的研究,但是找不到任何特别有用的东西。



我试过使用这个ASP.NET发布到Facebook墙,但没有任何东西出现在墙上。



有没有一个教程或可以让我完成这个过程的简单和缓慢?



所有的帮助或指针赞赏。



As st at我正在使用unity3d,c#在单声道和Facebook图表api。



我希望它在Android上工作。

解决方案

使用 C# 。有一个名为facebook-aspnet-sample的示例项目,显示您的身份验证和登录。另外,请查看教程页面,该页面介绍如何从一个Unity3d游戏到Facebook。 tut很短,但演示项目下载是有用的。



还有出售插件可以从Unity3d进行Facebook访问。


I'm using C# in MonoDevelop with the Graph API to interact with users facebook pages.

I've become thoroughly confused though.

Are these the correct steps?

  1. create facebook app Here : http://developers.facebook.com/
  2. programmaticly get access token using app ID and app Secret.

If so how do I go from this to posting to users walls?

I've done lots of research but have been unable to find anything particularly useful.

I've tried using this ASP.NET Post to Facebook Wall but Nothing ever appears on the wall.

Is there a tutorial or something that can take me through the process nice and slow?

All help or pointers appreciated.

As stated i'm working with unity3d, c# in mono and the facebook graph api.

[Edit] I'd like it to work on android.

解决方案

Use the C# Facebook library. There is a sample project called facebook-aspnet-sample which shows you authentication and login. Also, have a look at this tutorial page which deals with how to connect from a Unity3d game to Facebook. The tut is short but the demo project download is useful.

There are also plugins for sale that enable Facebook access from Unity3d.

这篇关于使用Graph API c#unity3d访问Facebook的帖子等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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