简体   繁体   English

通过其API限制访问Facebook故事

[英]Restricted access to Facebook stories via their API

I'm managing ads via Facebook ads API. 我正在通过Facebook ads API管理广告。 The requests are made on behalf a user, which provides access_token . 这些请求是由提供access_token的用户代表的。 It's info: 这是信息:

Expires: Never 
Valid: True 
Origin: Web 
Scopes: public_profile, basic_info, ads_management, user_friends

Sometimes requests to specific stories info via their object_story_id -s (obtained form AdCreative objects) fail for unknown reason (Unsupported get request). 有时,通过其object_story_id -s(从AdCreative对象获得)对特定故事信息的请求由于未知原因而失败(不支持的get请求)。

May be it's important that some of pages, which host this stories, are alcohol-related. 托管此故事的某些页面与酒精有关可能很重要。 But " age_range " for my token is { "min": 21 } . 但是我的令牌的“ age_range ”是{“ min”:21} That seems more weird when requests to another stories from that pages are ok. 当从该页面请求另一个故事没问题时,这似乎更奇怪。

So how can I found, where is a problem? 那么如何找到问题所在? May be there is not age-related, but some other kind of restrictions (geographical or so). 可能与年龄无关,但有其他一些限制(地理上的限制)。 How can it be determined? 如何确定?

Thanks in Advance! 提前致谢!

It had nothing to do with alcohol or age restrictions. 这与饮酒或年龄限制无关。 Just a coincidence. 只是一个巧合。 The deal is that there is a bug on FB side related to Photo id-s. 要做的是在FB方面存在与Photo id-s有关的错误。 It is described (with several suggested workarounds) here : https://developers.facebook.com/bugs/311567308967873/ 在此处进行了描述(有几种建议的解决方法): https : //developers.facebook.com/bugs/311567308967873/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM