需要授權這是我嘗試了Facebook的調試工具:URL返回一個錯誤的HTTP響應代碼/ 401在Facebook上分享
刮信息:
Response Code 401
Fetched URL http://devstmaws.linesofphp.com/video/index/52f0fd544eab99ae28000106
Canonical URL http://devstmaws.linesofphp.com/video/index/52f0fd544eab99ae28000106
Warning
Critical Errors That Must Be Fixed
Bad Response Code URL returned a bad HTTP response code.
Warning
Errors That Must Be Fixed
Missing Required Property The 'og:type' property is required, but not present.
Notice
Open Graph Warnings That Should Be Fixed
Inferred Property The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.
URLs
Graph API https://graph.facebook.com/1419346681640654
Scraped URL See exactly what our scraper sees for your URL
的URL,我會喜歡分享的是:http://devstmaws.linesofphp.com/video/index/52f0fd544eab99ae28000106
可能是什麼原因?這不是在刮我的網站了。
Scraper response: Document returned no data
Meta標籤:
<meta property="og:image" content="http://devstmaws.linesofphp.com/static/img/logo_facebook.jpg" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:width" content="300" />
<meta property="og:image:height" content="300" />
<meta property="og:title" content="Check out my awesome video!" />
<meta property="og:site_name" content="Check out my awesome video!" />
<meta property="og:description" content="SearchTheMusic gives you the ability to legally add music to your videos and share them with the world!" />
<meta property="og:url" content="http://devstmaws.linesofphp.com/video/index/52f0fd544eab99ae28000106" />
謝謝!但在我的另一臺登臺服務器上工作之前。網址:http://muserk.sourcepadstage.com w /授權也。我很有信心,它也可以在我的另一臺登臺服務器上工作,但我需要401授權。 – xirukitepe
它確實沒有真正的工作,但在登臺服務器上的密碼保護不會返回錯誤 - 它只是要求輸入密碼。這很煩人,因爲你不能關閉瀏覽器標籤,這很容易... – luschn