iPhone - 如何使用Facebook iOS sdk发送apprequests [英] iPhone - How to send apprequests using facebook iOS sdk

查看:163
本文介绍了iPhone - 如何使用Facebook iOS sdk发送apprequests的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个iPhone应用程序,其中我需要向用户发送应用程序请求(邀请和应用礼物)。

i'm working on an iphone app, in which i need to send application request(invitation and app gift) to the users.

在API中,所有的方法和示例都是为FB Web应用程序提供的,我试图模仿它们,但是它们都返回null。有些请指导我如何做使用FB iOS sdk。

In API all the methods and examples are given for FB web apps,i tried to mimic them but they all return null in response.Can some please guide me how to do that using FB iOS sdk.

okey,我试着发贴使用这个URL及其发送请求给我但不是其他用户并返回此错误:(#200)参数中的所有用户必须已经接受TOS

okey, i triend to post using this URL and its sending request to me but not to other users and returning this error : "(#200) All users in param ids must have accepted TOS"

NSString *st = [[NSString alloc]initWithFormat:@"https://graph.facebook.com/me/apprequests?message='TestMessage'&access_token=%@&method=post",accesToken];

所以这个请求增加了应用程序书签的计数,何时会通知触发?

So this request increase a count at application bookmark, when would notification triggered ?

仍然困惑,像okey一样,我们无法向不使用应用程序的用户发送请求,我们如何鼓励他们使用应用程序。

Still confused, like okey we can not send request to users who aren't using application, how can we encourage them to use application.

如果我想给他发送礼物,而且他没有使用该应用程序。

what if i want to send him a gift, and he is not using the application.

谢谢

推荐答案

嘿检查这个帖子: http://facebook.stackoverflow.com/questions/7751806 / facebook-requests-dialog-frictionless-request-in-native-ios-app-possible

您现在可以使用对话框执行请求对话apprequests。

You can now do a requests dialog by using the dialog "apprequests".

这篇关于iPhone - 如何使用Facebook iOS sdk发送apprequests的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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