0
我有页面的身份验证令牌。我想更新我的页面属性,如is_webhooks_subscribed
。我可以在Graph API Explorer中完成,没有任何问题。考拉宝石:如何更新页面信息?
Here is documentation on Page updating endpoint
我该怎么做,在考拉宝石使用图形API?
我有页面的身份验证令牌。我想更新我的页面属性,如is_webhooks_subscribed
。我可以在Graph API Explorer中完成,没有任何问题。考拉宝石:如何更新页面信息?
Here is documentation on Page updating endpoint
我该怎么做,在考拉宝石使用图形API?
结束阅读宝石源代码。找到api
方法,即注释:您很少需要直接调用此方法。
解决方案:
graph = Koala::Facebook::API.new(page_auth_token)
graph.api('me', { is_webhooks_subscribed: true }, 'post')