1
我一直在试图从使用facebook-social-plugin的网站论坛发表所有评论,但我没有得到如何去做的理念。使用图形API浏览器 ,我想:在网站上获取Facebook社交插件的评论
?fields=og_object{comment}&id=https://www.reclamos.cl/reclamo/2015/oct/investing_capital_inversi_n_en_el_mercado_de_divisas
但错误是:"message": "(#100) Tried accessing nonexisting field (comment) on node type (OpenGraphObject)"
,
然后我试着用:
?fields=og_object{comment}&id=220640118006433 (where the 'id' is the plugin id)
但错误是:
"message": "(#100) Tried accessing nonexisting field (og_object) on node type (Application)",
我觉得我是mi在这里创造一个理念,欢迎所有灯光照亮道路!
它是'og_object {注释}'(复数),而不是'og_object {comment}' – CBroe
@CBroe谢谢!该代码运行,但没有关于URL的评论的结果。你知道如何解决它吗? – jlkhermes38
您有评论插件指向'http:// www.reclamos.cl/reclamo/2015/oct/investing_capital_inversi_n_en_el_mercado_de_divisas',但'og:url'是HTTPS版本 - 这些是Facebook的两个不同的URL。既然你已经对第一个URL有了评论,你也应该使og:url成为HTTP版本。 – CBroe