【发布时间】:2012-09-03 15:22:30
【问题描述】:
有没有办法通过:og:url, og:title, og:image, og:description 来休息而不在 html 页面的元标记上声明它?
FB.api('/me/recipebox:cook', 'post',
{ recipe : 'http://www.example.com/pumpkinpie.html' });
https://developers.facebook.com/docs/opengraph/actions/
我正在使用推送状态/单页应用程序,使用内部参数会更容易。
类似:
FB.api('/me/recipebox:cook', 'post',
{ recipe : my_json });
谢谢
【问题讨论】:
标签: javascript facebook facebook-graph-api