Facebook opengraph中的奇怪错误

Facebook opengraph中的奇怪错误,facebook,facebook-opengraph,Facebook,Facebook Opengraph,我正在尝试使用JSSDK发布一个操作 我的行动代码是 function watchvid() { FB.api( '/me/video.watches?video=http://watchvideoz.in/watch.php?v=34', 'post', function(response) { if (!response || response.error) { alert(

我正在尝试使用JSSDK发布一个操作

我的行动代码是

 function watchvid()
  {
      FB.api(
        '/me/video.watches?video=http://watchvideoz.in/watch.php?v=34',
        'post',
        function(response) {
           if (!response || response.error) {

              alert(JSON.stringify(response.error)); 
           } else {
var a = response.id;
    MyApp.color = a;

           }
        });
  }
我的元标记是

<meta property="og:url" content="http://watchvideoz.in/watch.php?v=34"/>    
<meta property="fb:app_id" content="288976161189701"/>  
<meta property="og:title" content="Buckys C++ Programming Tutorials - 9 - Functions"/> 
<meta property="og:type" content="video.other" />
<meta property="og:image" content="http://img.youtube.com/vi/bsWWHo4KDHE/hqdefault.jpg"/>   
<meta property="og:description" content="For all of our videos, visit http://thenewboston.com"/>
<meta property="og:site_name" content="YourVidz"/>
在上述错误中,它忽略=之后的值,即,它仅检索http://watchvideoz.in/watch.php?v

尽管fb调试器工具正在检索正确的值


如果将url作为查询字符串参数传递,则需要对其进行url编码,以便您自己的查询字符串中的“?”和“&”不会与父url中的“?”和“&”混淆。
试试看

是的,调试器返回所有正确的值。这对我来说很奇怪
{"message":"(#3502) Object at URL http://watchvideoz.in/watch.php?v has og:type of 'website'. The property 'video' requires an object of og:type 'video.other'. ","type":"OAuthException","code":3502}