如何刷新FaceBook Graph API数据 [英] How to refresh FaceBook Graph API data

查看:131
本文介绍了如何刷新FaceBook Graph API数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我对图形进行更改,如从 fb:admins 添加/删除用户,我看到更改不会发生,直到我调用流动的网址:

Every time I make a change to the graph api metas like add/remove users from fb:admins, I see that the changes are not taking place until I call the flowing URL:

https://developers.facebook.com/tools/debug/og/object?q=

我的问题是什么是正确的方法刷新?每次我进行更改时,我应该以实际的方式调用这个URL吗?或者可能还有另一个专门的API做刷新?

My question is what is the correct way to do a refresh? Should I call(pragmatically) this URL every time that I make a change? Or may be there is another dedicated API to do the refresh?

推荐答案

根据文档,您可以通过点击

POST /?id={object-instance-id or object-url}&scrape=true

此外,Facebook将每周一次刮擦物体,无论什么。

Additionally, Facebook will scrape the object once a week no matter what.

这篇关于如何刷新FaceBook Graph API数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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