将评论与 Facebook iOS SDK (iPhone) 集成 [英] Integrate Comments with Facebook iOS SDK (iPhone)

查看:30
本文介绍了将评论与 Facebook iOS SDK (iPhone) 集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用程序中实现了 Facebook iOS API/SDK,它运行良好.我是例如能够读取登录用户的名称等.

I implemented the Facebook iOS API / SDK into my application and it works fine. I'm e.g. able to read the name of the logged in user etc.

问题是:

我有几个带有视频的视图控制器.用户使用他的 Facebook 帐户登录,应该能够发表评论或喜欢视频.其他用户应该能够以列表形式查看之前的评论.

I have several view Controllers with videos in it. The user is logged in with his Facebook account and should be able to post a comment or like the video. Other users should be able to see the previous comments as a list.

我已经在 Facebook.com 上创建了一个 Facebook 应用程序.

I already created a Facebook application on Facebook.com.

接下来我该怎么办?我是否必须在 Facebook.com 上创建一些我可以 GET 并通过 Facebook API 显示的列表"?

What should I do next? Do I have to do create some "lists" on Facebook.com which I can GET and display via the Facebook API?

谢谢

推荐答案

查看本教程 iPhone 上的脸书

好的,关于列表,我认为最好将它存储在用户的设备(或最好是远程数据库)中,因为通过 facebook 跟踪特定于您的应用程序的用户评论太麻烦(我不熟悉 FB API返回特定应用的评论列表,因此也请检查)

EDIT : Ok, about the list I think it will be best if you store it in the user's device (or preferably a remote database) because keeping track of user comments specific to your application through facebook is too cumbersome (I am not familiar with FB API which returns a list of comments for a specific app so check that as well)

发布到用户的墙很容易而且解释得很清楚此处(转到页面中间某处的发布到用户墙").

Posting to the User’s Wall is easy and well explained here (Goto "Posting to the User’s Wall" somewhere in the middle of the page).

这篇关于将评论与 Facebook iOS SDK (iPhone) 集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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