“隐私”使用 Pagetoken 发布到页面墙时不被接受
目标:
当我使用 Pagetoken 发布到主页墙时,我想指定通过我的应用程序完成的帖子的隐私。
问题:
使用页面令牌,我确实发布到 URL“https://graph.facebook.com/me/feed” 具有以下机构 -
{
"message": "请求用户名后来自具有安全性的应用程序", “隐私”: { “描述”:“荷兰阿姆斯特丹,荷兰”, “值”:“自定义” }
}
收到如此糟糕的答案 -
{
<前><代码>“错误”:{ "message": "(#100) 参与者作为页面的帖子不能同时包含隐私。", “类型”:“OAuthException” }}
即使在文档中这么说,这里 - https://developers. facebook.com/docs/reference/api/page/#posts, 支持 Pages#post.privacy。
并明确:
“如果指定了主页的帖子按位置/语言定位,则说明字段可能包含以逗号分隔的有效国家/地区、城市和语言列表。”
请帮帮我,我做错了什么?
Goal:
I want to specify privacy for posts, that are done through my application, when I post to a Page's wall, using Pagetoken.
Problem:
Using page token, I do post to URL "https://graph.facebook.com/me/feed"
with the following body —
{
"message": "from app with security after requesting a username", "privacy": { "description": "Amsterdam, Netherlands, Netherlands", "value": "CUSTOM" }
}
An receive such a terrible answer —
{
"error": { "message": "(#100) Posts where the actor is a page cannot also include privacy.", "type": "OAuthException" }
}
Even through it is said in documentation, here - https://developers.facebook.com/docs/reference/api/page/#posts,
that Pages#post.privacy is supported.
And explicitly:
"The description field may contain a comma-separated lists of valid country, city and language if a Page's post targeting by location/language is specified."
Please help me out, what am I doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在 Facebook 开发者错误报告工具中发布了该错误
https://developers.facebook.com/bugs/238365492903384
订阅/评论以推送此内容回复
I posted the bug in Facebook Developers Bug reporter tool
https://developers.facebook.com/bugs/238365492903384
Subscribe/Comment to push this for a reply
这看起来像是一个文档错误。我附上了旧版本文档的屏幕截图。尝试使用位置格式相同的“定位”:
https://developers.facebook.com /docs/adsapi/targeting_specs/
我还请求修复文档。
This looks like a documentation bug. I have attached a screenshot of the old version of the docs. Try using "targeting" with the same location format as:
https://developers.facebook.com/docs/adsapi/targeting_specs/
I've also requested a fix for the docs.