在检索一个WinForm从Facebook数据 [英] Retrieving data from facebook in a winform

查看:94
本文介绍了在检索一个WinForm从Facebook数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,使用Facebook的API,我需要一个API密钥进行连接,但我还是不明白,我怎么会去这样做,我怎么可以检索时使用API​​用户的信息(我只关心在检索是可公开获得的信息,如:用户名,出生日期和其他信息,一个特定的用户离开公众)

I understand that using the facebook API I need an api key to connect, but I still don't understand how i would go about doing this, and how can i retrieve information upon users using the API (i'm only interested in retrieving the information that is publicly available e.g: username, birthdate, and other info that a specific user left public)

我下载了Facebook的开发工具包,并试图加入FacebookService控制,但我不明白这一点... 所有的例子/样本,我发现在互联网上早于版本我都有,所以工作方式略有不同。

I downloaded the facebook development kit, and tried adding the FacebookService control, but i don't get it... All the examples/samples i found on the internet are older than the version i have and therefore work a little different..

有人可以张贴的我怎么会连一个例子,使用一定的API密钥,并获取某人的公共信息/公开的照片(如果有的话)?

Can someone please post an example of how i would connect, using a certain API key, and retrieve someones public info/public photos (if there are any) ??

感谢。 :)

推荐答案

您应该花一些时间阅读的 Facebook开发的Wiki Facebook的发展,需要了解如何Facebook应用程序的结构和如何开发人员必须与Facebook网站配置他们,让他们的工作。你不能只是删除控制在你的应用程序,并希望能够得到它的工作。

You should spend some time reading the Facebook Developer Wiki. Facebook development requires understanding how facebook applications are structured and how developers must configure them with the Facebook site to get them to work. You can't just drop a control in your app and expect to be able to get it to work.

在wiki有文章解释如何获得开发者ID,什么FBML是,API密钥是什么,等等。如果你打算做任何严重的FB的开发,维基是一个很好的资源。

The wiki has articles that explain how to get a developer ID, what FBML is, what an API key is, and so forth. If you plan to do any serious FB development, the wiki is an excellent resource.

有href="http://devtacular.com/articles/bkonrad/how-to-use-the-facebook-developer-toolkit-20/"这里rel="nofollow">好文章一个有关设置配置文件,并使用FB toolikit创建一个应用程序。也许这可以帮助你更快的开始。

There is a good article here about setting up a profile and using FB toolikit to create an application. Perhaps that can help get you a quicker start.

这篇关于在检索一个WinForm从Facebook数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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