获取来自Facebook使用C#我自己的数据没有应用 [英] Getting my own data from facebook using C# WITHOUT an application

查看:93
本文介绍了获取来自Facebook使用C#我自己的数据没有应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在谷歌上搜索了两天,我找不到任何线索如何做到这一点:

I've been googling for a couple of days, and I could not find any clue how to achieve that:

我有一个桌面应用程序(C#)我想能够登录到我的Facebook的个人资料,并从中拉一些数据(如个人资料信息,墙贴,喜欢上我的帖子等)
请注意,我不希望开发一种Facebook应用程序,我只是想访问我自己的用户数据。

I have a desktop application(C#) in which I'd like to be able to login to my facebook profile, and pull some data from it(e.g. profile information, wall posts, likes on my posts, etc.) Note that I DO NOT want to develop a facebook application, I simply would like to access my own user data.

据我看到的,图形API的目的是为了FB应用和图形API总是调用需要一个访问令牌,但我没有道理,因为我没有使用任何Facebook应用程序。

As far as I see, the Graph API was designed to develop FB apps, and Graph API calls always need an access token, but I do not have token, since I do not use any Facebook application.

到现在为止,我看到,唯一的办法就是增加一个Web浏览器组件我的申请,并登录到通过它facebook的,但它是相当不便处理纯HTML,并且由于HTML本身可以在任何时间改变,应用程序的维护将是一个恐怖

By now, the only way I see for that is to add a web browser component to my application, and login to the facebook through it, but it's quite inconvenient to process the pure HTML, and, since the HTML itself can change at any time, the maintenance of the application would be a horror.

所以我想找到某种方式来拉JSON格式从Facebook数据,如图形API,但没有有一个Facebook应用程序。

So I'd like to find some way to pull data from facebook in JSON format, like the Graph API, but without having a Facebook application.

在此先感谢您的答案。

推荐答案

这是不可能访问数据,而无需一个Facebook应用程序

It's not possible to access the data without a facebook application.

当你写的,你需要对大多数图形的请求的访问令牌,才能有一个访问令牌你需要的应用程序。
更重要的,从你写什么,你会需要它默认情况下不授予额外的权限(为用户的照片,墙贴,喜欢等)。

As you wrote, you need an access token for most graph requests, and in order to have an access token you need an application. More than that, from what you wrote you'll need extra permissions which are not granted by default (for the user photos, wall posts, likes and so on).

Facebook的不能只是给你看的信息,用户授予特定的应用程序来访问他们的数据的权利,因为你必须有一个Facebook应用程序。

Facebook can't just give you the info you see, the user has to grant a specific application the right to access their data, and because of that you must have a facebook app.

我看不出有什么问题,虽然,只需创建一个Facebook应用程序,它并不复杂。

I don't see what the problem is though, just create a facebook app, it's not that complicated.

这篇关于获取来自Facebook使用C#我自己的数据没有应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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