AP发送prequest应用到用户的任何例子吗? [英] Any example of Sending apprequest app-to-user?

查看:201
本文介绍了AP发送prequest应用到用户的任何例子吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何发送AP prequest(应用程序到用户)?我是否需要一个特别许可或者仅仅是用户ID?每个请求的用户#任何限制?任何人都得到样品code出售?

 我已经检查这些链接:
https://developers.facebook.com/docs/requests/
https://developers.facebook.com/docs/reference/dialogs/requests/
https://developers.facebook.com/docs/reference/api/user/#ap$p$pquests


解决方案

我不认为应用程序对用户请求会得到你想要的东西。由于它们只能被发送到当前应用程序的用户。

来源: https://developers.facebook.com/docs/requests/


  

应用用户的请求


  
  

应用程序用户的请求可以被用来在你的应用进行互动,用户和
  只能发送到已安装的应用程序的用户。例如,
  通知自上次访问的东西已经改变了用户,
  您的朋友10是现在网上。


  
  

应用程序用户要求通过图形API,送的更多信息
  看到AP prequests文档。应用程序对用户请求仅适用于
  帆布的应用程序,而不是网站,作为接受请求将引导用户
  到发送请求的应用程序的画布页面URL。通知
  一个应用程序请求的用户


  
  

应用程序用户的请求不创建通知,但他们做的
  出现在应用程序和游戏控制台,并增加应用程序的书签
  柜台,类似于用户对用户请求。接受一个应用程序请求


  
  

此过程与接受用户到用户的请求。


https://developers.facebook.com/文档/参考/ API /用户/ AP#prequests


  

创建


  
  

您可以通过发出HTTP POST请求张贴用户的AP prequest
  到/ USER_ID / AP prequests与应用程序的access_token。


  
  

注:发帖的/ USER_ID / AP prequests图形API端点
  考虑一个App用户要求。应用程序生成的请求不
  收到通知,并在比较有限的获得分配
  用户与请求对话框发送用户请求


How can I send apprequest (app-to-user)? Do I need a special permission for that or just the user id? Any limitation of # of users per request? Anyone got sample code for sale?

I have already checked these links:
https://developers.facebook.com/docs/requests/
https://developers.facebook.com/docs/reference/dialogs/requests/
https://developers.facebook.com/docs/reference/api/user/#apprequests

解决方案

I don't think app-to-user requests are going to get you what you want. As they can only be sent to current app users.

From: https://developers.facebook.com/docs/requests/

App To User Requests

App to User Requests can be used to re-engage a user in your app and can only be sent to users that have installed the app. For example, notifying a user that something has changed since their last visit, "10 of your friends are now online".

App to User Request are sent via the Graph API, for more information see the apprequests docs. App to User Requests are only available for Canvas apps, not websites, as accepting a request will direct the user to the Canvas Page URL of the app that sent the Request. Notifying Users of a App Request

App to User Requests do not create notifications, though they do appear in the App and Games Dashboard and increment an app bookmark counter, similar to User to User Requests. Accepting an App Request

This process is identical to accepting a User to User Request.

From https://developers.facebook.com/docs/reference/api/user/#apprequests

Create

You can post a apprequest for a user by issuing an HTTP POST request to /USER_ID/apprequests with the app access_token.

Note: POSTing to the Graph API endpoint of /USER_ID/apprequests is considered an App to User Request. App-Generated Requests do not receive notifications and get limited distribution in comparison to User to User Requests sent with the Request Dialog

这篇关于AP发送prequest应用到用户的任何例子吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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