2016-06-28 106 views
-1

我用我的歌網頁上像meta標籤...
<meta property="og:url" content="{{ route(Route::getCurrentRoute()->getName(),$coverSong->cover_slug) }}"> <meta property="og:type" content="Website"> <meta property="og:title" content="{{ $coverSong->cover_name }}"> <meta property="og:image" content="{{ ($coverSong->youtube_thumb) ? 'https://'.$coverSong->youtube_thumb : asset('assets/images/music.png')}}"> <meta property="og:image:secure_url" content="{{ ($coverSong->youtube_thumb) ? 'https://'.$coverSong->youtube_thumb : asset('assets/images/music.png')}}"> <meta property="og:description" content="Listening {{ $coverSong->cover_name }} (Cover song of {{ $originalSong->name }})"> <meta property="og:site_name" content="coversage.com"> <meta property="og:locale" content="en_US">
,但我不能對我的份額彈出顯示圖像 enter image description here
的Facebook給出錯誤等。 ..
Object at URL 'http://coversage.com/cover/bewajah-cover/songs' of type 'website' is invalid because the given value 'http://img.youtube.com/vi/kVG-kTPqy1E/mqdefault.jpg' for property 'og:image:secure_url' could not be parsed as type 'url'.不能顯示Facebook的OG:圖像時份額頁

回答

0

您的圖像太小。最小尺寸限制爲200像素×200像素。 看這裏

https://developers.facebook.com/tools/debug/sharing/?q=http%3A%2F%2Fcoversage.com%2Fcover%2Fbewajah-cover%2Fsongs 
相關問題