有没有一种方法可以传递:og:url,og:title,og:image,og:description可以休息而不在html页面的metatags上声明?
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 });
谢谢
最佳答案
有没有一种方法可以传递:og:url,og:title,og:image,og:description可以休息而不在html页面的metatags上声明?
否,因为开放图对象是URL。