Website previews and metadata

With FilePreviews.io not only can you generate thumbnail previews and extract data from any file, but you can do so for any website.

We recently introduced the “webpage” metadata option which will extract data from meta tags, like it’s title, description, keywords, image and video URLs for a given website. We also include oEmbed data for websites that include them like YouTube, Vine, SpeakerDeck, and Instagram.

Here’s an example response for a post on Vine.

{
"id":"6ce4a00a-677d-4265-8144-4873d3d0075d",
"url":"https://api.filepreviews.io/v2/previews/6ce4a00a-677d-4265-8144-4873d3d0075d/",
"status":"success",
"preview":{
"original_size":{
"width":"1280",
"height":"1024"
},
"page":1,
"size":{
"width":"1280",
"height":"1024"
},
"url":"https://s3.amazonaws.com/demo.filepreviews.io/bb3d2c82dac99a0509b43f9ee3dd655f93368bb21855c75ec326f92547f3ed06/2ce8aa80407b1ca9b80e6a51ff24c1ab_original-1.png",
"resized":false,
"requested_size":"original"
},
"thumbnails":[
{
"original_size":{
"width":"1280",
"height":"1024"
},
"page":1,
"size":{
"width":"1280",
"height":"1024"
},
"url":"https://s3.amazonaws.com/demo.filepreviews.io/bb3d2c82dac99a0509b43f9ee3dd655f93368bb21855c75ec326f92547f3ed06/2ce8aa80407b1ca9b80e6a51ff24c1ab_original-1.png",
"resized":false,
"requested_size":"original"
}
],
"original_file":{
"name":"i07VJLqZ3bd",
"size":21258,
"encoding":"utf-8",
"metadata":{
"webpage":{
"oembed":{
"author_name":"Bubblebeccapugs",
"version":1,
"title":"Sunday Funday #pugsofVine #dogsofvine #pug #dog #cute #happy #StellaArtois 🍺☀️😎",
"author_url":"https://vine.co/u/1148651418689925120",
"thumbnail_width":480,
"cache_age":3153600000,
"provider_url":"https://vine.co/",
"thumbnail_url":"https://v.cdn.vine.co/r/thumbs/97026346B01343637394330906624_5580a4e3be3.17.0.14983072149648355644.mp4.jpg?versionId=LvMeaYzdPviCoUZIPD2kf8TSa9ReKjmU",
"width":600,
"thumbnail_height":480,
"type":"video",
"provider_name":"Vine",
"height":600,
"html":"<iframe class=" \&quot;vine-embed\&quot;" src="\&quot;https://vine.co/v/i07VJLqZ3bd/embed/simple\&quot;" width="\&quot;600\&quot;" height="\&quot;600\&quot;" frameborder="\&quot;0\&quot;"></iframe><script src="\&quot;//platform.vine.co/static/scripts/embed.js\&quot;" async=""></script>"
},
"videos":[
{
"width":535,
"height":535,
"type":"text/html",
"src":"http://vine.co/v/i07VJLqZ3bd/fb-card?audio=1",
"secure_src":"https://vine.co/v/i07VJLqZ3bd/fb-card?audio=1"
}
],
"title":"Sunday Funday #pugsofVine #dogsofvine #pug #dog #cute #happy #StellaArtois &#x1f37a;☀️&#x1f60e;",
"images":[
{
"type":"og:image",
"src":"https://v.cdn.vine.co/r/thumbs/97026346B01343637394330906624_5580a4e3be3.17.0.14983072149648355644.mp4.jpg?versionId=LvMeaYzdPviCoUZIPD2kf8TSa9ReKjmU"
},
{
"type":"favicon",
"src":"https://v.cdn.vine.co/w/c034b859-assets/images/favicon.ico"
}
],
"url":"https://vine.co/v/i07VJLqZ3bd",
"locale":"en_US",
"description":"Vine by Bubblebeccapugs"
}
},
"mimetype":"text/html",
"type":"text",
"total_pages":1,
"extension":""
},
"user_data":null
}
view raw sample.json hosted with ❤ by GitHub

Want to know more? Sign up and give FilePreviews a test run today for free.