Live Support Chat

Website previews and metadata

fp-website

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"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
}

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

Introducing Azure support for FilePreviews.io

fp-azure

We have officially added support for storing your file previews to Microsoft’s Azure Blob Storage. Since we launched we’ve only supported uploading previews to Amazon S3, but recently we’ve gotten more and more requests to add support for Azure. You asked, we listened and delivered.

Getting started is easy. After you’ve upgraded your application, you’ll be able to pick Microsoft Azure as storage.

Screen Shot 2016-04-15 at 10.45.26 AM

Once you’ve entered your Azure’s account credentials you’ll be able to check everything is working correctly by clicking on Try.

 

Screen Shot 2016-04-15 at 10.59.54 AM

Once your storage is successfully configured, your application is ready to upload previews directly to Azure. Do you need to your have your previews uploaded somewhere else? Let us know!

Bonus

Now you can also regenerate your application’s Server API Key, Server API Secret, and Client API.

Screen Shot 2016-04-16 at 4.38.45 PM

As always we’d love to know if you have any questions or feedback. Try it out and let us know what you think support@filepreviews.io.

New FilePreviews.io Sandbox for Developers

FilePreviews.io Sandbox

During the past couple of months we’ve been making improvements to the FilePreviews.io backend, client libraries, documentation and website.

Today we are very happy to announce the new Sandbox, one of the many improvements that shipped a few days ago.

The new Sandbox will allow users to try the FilePreviews.io API on a wide range of scenarios without having to write a single line of code.

Continue reading →