简体   繁体   English

将facebook连接到android eclipse

[英]connect facebook to android eclipse

I´m making a project to Eclipse (Android) and I want to connect facebook with my app, for example, I need to receive all post of my facebook account in my app, but I don´t know how. 我正在制作一个到Eclipse(Android)的项目,并且想将Facebook与我的应用程序连接,例如,我需要在我的应用程序中接收我的Facebook帐户的所有帖子,但是我不知道如何。 Can you help me? 你能帮助我吗? Thanks 谢谢

Integrate the official facebook library from gihub. 整合来自gihub的官方facebook库。 Then create an app. 然后创建一个应用程序。 on facebook.com You will get the key. 在facebook.com上,您将获取密钥。 Use that key in your Java code to get the access token. 在Java代码中使用该密钥来获取访问令牌。 Now, use this token to log in to your facebook account. 现在,使用此令牌登录到您的Facebook帐户。 Then you can use the graph API or the FQL to get the post from facebook. 然后,您可以使用图形API或FQL从Facebook获取帖子。 Also there are 100s of examples on stack overflow itself. 堆栈溢出本身也有100多个示例。

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

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