简体   繁体   English

开始使用silverlight / facebook开发

[英]Getting started with silverlight/facebook development

Is there any very simple sample applications to get started with facebook dev? 有没有非常简单的示例应用程序来开始使用facebook dev?

I just want to know how I would connect to facebook through silverlight, get the authentication stuff out of the way and then develop, debug and test my applications. 我只是想知道如何通过silverlight连接到facebook,获取认证的东西,然后开发,调试和测试我的应用程序。

Do I need to be connected to a server which connects to facebook or can I do the development from my own PC which can 'talk' to facebook? 我需要连接到连接到Facebook的服务器,还是可以从我自己的PC上进行开发,可以与Facebook“交谈”?

I'm also a bit worried about the updating APIs. 我也有点担心更新API。 Some of hte samples seem a bit old? 有些样品看起来有点旧吗? I'd really like something for the latest version of silverlight/facebook API... 我真的很喜欢最新版本的silverlight / facebook API ......

We are working on posting some silverlight samples to the Facebook C# SDK on Codeplex in the next week or so. 我们正在努力在下周左右向Codeplex上的Facebook C#SDK发布一些Silverlight样本。 You can find that SDK at http://facebooksdk.codeplex.com or http://www.microsoft.com/facebook . 您可以在http://facebooksdk.codeplex.comhttp://www.microsoft.com/facebook上找到该SDK。 We will have an in browser and out of browser sample. 我们将有一个浏览器和浏览器样本。 For now, we have other samples on there that you can look at. 目前,我们还有其他样品供您查看。 For the most part the SDK works the same on any .Net platform. 在大多数情况下,SDK在任何.Net平台上的工作方式都相同。

I've been working on a SL application with facebook integration that utilizes. 我一直在研究利用facebook集成的SL应用程序。 I use the JavaScript SDK to log the user in, then pass the access_token into my SL app via a ScriptableMember method. 我使用JavaScript SDK将用户登录,然后通过ScriptableMember方法将access_token传递给我的SL应用程序。 I then use the FacebookApp constructor that takes an access token to create a new Facebook App object. 然后,我使用FacebookApp构造函数,该构造函数接受访问令牌以创建新的Facebook App对象。 Then I can make my calls directly from the SL app, without the need for a server-side proxy. 然后我可以直接从SL应用程序拨打电话,而无需服务器端代理。

One thing to note, in your Facebook applicaiton settings, just enter http://localhost/ without the port for your site address. 有一点需要注意,在您的Facebook应用程序设置中,只需输入http:// localhost /,而不输入站点地址的端口。

I'm eagerly awaiting a little more guidance from Nathan, as he's a developer of the C# SDK 我迫切期待Nathan的更多指导,因为他是C#SDK的开发者

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

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