Android app with Facebook comments

╄→尐↘猪︶ㄣ 提交于 2021-01-29 17:13:25

问题


I have an Android app which gets database items with unique ids. So, i want to make users leave Facebook comments about these items by using their unique ids.

What is the best way to do that? I looked up Facebook Android SDK docs but it doesn't say anything about comments.

These items are not Facebook posts. I wanna make Android version of facebook comments of web sites.

Need your help.


回答1:


It sounds like you want your users to make Facebook comments on items within your android app, much like they would use Facebook to leave comments on a non-Facebook website.

One way to do this is to authenticate users to Facebook, and allow them to leave comments which will be cached on your website or a visible server somewhere. These comments will be tagged with an ID unique to the user, and supplemented with their Profile Picture and Username, which will then link to Facebook itself. However, none of the comments will be visible on Facebook, only your app.

If you want to use Facebook as an unofficial ad platform, you can create a Facebook app which collects data from your Android app, and allow users to post Open Graph Stories about your products to Facebook.

In order to do this, you will need to authenticate your users to Facebook via your app, then configure your app to allow to post on their behalf regarding the item in your Android app.

Essentially, when a website allows users authenticated to Facebook to leave comments, what they are doing is identifying users via their Facebook credentials, however the comments are stored on the website, not Facebook itself. You'll need some way to store these comments on the web in order for your Android app to show this data to other users.



来源:https://stackoverflow.com/questions/22233389/android-app-with-facebook-comments

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!