从winform中获取数据 [英] Retrieving data from facebook in a winform

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

问题描述

我明白使用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开发者维基 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.

有一个好文章。也许这可以帮助您快速开始。

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中获取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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