根据this post的说法,当请求friends_actions:{app_namespace}权限时,可以检索应用程序上的好友活动。
但是,当我请求该权限时,该权限不会出现在身份验证对话框中。有没有人知道这个错误?
发布于 2012-06-13 19:23:45
这对我来说很好,以pinterest为例:
在身份验证对话框中请求friends_actions:pinterestapp权限,并验证是否已通过调用/me/permissions授予该权限
{
"data": [
{
"installed": 1,
"read_stream": 1,
//Snipped a bunch of irrelevant actions
"user_actions:pinterestapp": 1,
"friends_actions:pinterestapp": 1,
}
]
}调用/[friend who uses pinterest's ID]/pinterestapp:pin
响应格式为:
{
"data": [
{
"id": "10100800772217878",
"from": {
"id": "REMOVED ID",
"name": "REMOVED NAME"
},
"start_time": "2012-06-13T11:08:37+0000",
"end_time": "2012-06-13T11:08:37+0000",
"publish_time": "2012-06-13T11:08:37+0000",
"application": {
"id": "274266067164",
"name": "Pinterest "
},
"data": {
"pin": {
"id": "10150834999992132",
"url": "http://pinterest.com/pin/REMOVED_ID/?timeline=1",
"type": "pinterestapp:pin",
"title": "Runway"
}
},
"likes": {
"count": 0
},
"comments": {
"count": 0
}
},
//SNIP对于多个朋友,您可以调用/pinterestapp:pin?ids=<CSV LIST OF USER IDS OF FRIENDS>
https://stackoverflow.com/questions/8998581
复制相似问题