简体   繁体   English

如何通过自己的Android应用程序与Facebook的API接口?

[英]How do I interface with Facebook's API through my own Android application?

I want people who use my Android application to be able to log into Facebook or go to a specific profile. 我希望使用我的Android应用程序的人能够登录Facebook或转到特定的个人资料。 How do I interface with Facebook's app so I can open it and ask it to open certain pags that I specify (as opposed to the "home" which shows every time one logs into Facebook)? 如何与Facebook应用程序交互,以便我可以打开它并要求它打开我指定的某些页面(而不是每次登录Facebook时显示的“主页”)?

EDITOR NOTE: Android is assumed since the question is tagged "android". 编者注:由于问题被标记为“ android”,因此假定为Android。

Read through this guide to get started with the Android Facebook SDK... 通读本指南以开始使用Android Facebook SDK ...

And here is the homepage for the Android SDK 这是Android SDK的主页

So to clarify, do you want users of your app to view specific facebook content from within your app? 因此要澄清一下,您是否要让应用程序的用户从您的应用程序中查看特定的Facebook内容? Or you want to link them to this specific content in the facebook app from your app? 还是要通过应用程序将它们链接到Facebook应用程序中的此特定内容? Ie, a profile page. 即,个人资料页面。

Either way, check out this SO page for specifics about the new way to use Intents in your Android app to link to Facebook app content. 无论哪种方式,请查看此SO页面以获取有关在Android应用程序中使用Intents链接到Facebook应用程序内容的新方法的详细信息。

暂无
暂无

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

相关问题 如何在Android应用程序的用户界面中调用另一个Android应用程序? - How can I call another android application in my android application's user interface? 如何让我的Android应用程序持续与我自己的RESTful API连接以连续检索数据? - How do I keep my Android app continuously connected with my own RESTful API to retrieve data continuously? 在发生某个事件后,如何通过自己打开并使用另一个Android应用程序? - How do I open and use another android app through my own after a certain event? 如何将Facebook集成到我自己的应用程序中? - How do I can integrate Facebook to my own app? 如何使用自己的UI修改android的本机摄像头应用程序? - How can I modify android's native camera application with my own UI? 如何用我自己的 tflite 替换 Tensorflow 的 Android 图像分类示例中的 tflite? - How do I replace the tflites in Tensorflow's image classification example for Android with my own tflite? 如何让我的Android应用程序具有用户界面的这一部分? - How do I get my Android Application to have this part of the user interface? 我如何使用.apk文件到我自己的应用程序android中? - how can i use .apk file into my own application android? 如何将自己的服务添加到BLE应用程序? - How do I add my own service to a BLE application? 如何为我自己的应用程序构建一个类似于Android的漂亮用户界面 - How to build a nice Android-like user interface for my own application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM