Turn facebook.com into structured data

Microlink SDK

Make your content attractive

Microlink SDK converts facebook.com links into beautiful previews, engaging better your links.

Large

import React from 'react'
import Microlink from '@microlink/react'

export default () => (
  <Microlink
    size='large'
    url='https://www.facebook.com/natgeo/videos/10156364216738951/'
  />
)

Normal

import React from 'react'
import Microlink from '@microlink/react'

export default () => (
  <Microlink
    size='normal'
    url='https://www.facebook.com/natgeo/videos/10156364216738951/'
  />
)

Small

import React from 'react'
import Microlink from '@microlink/react'

export default () => (
  <Microlink
    size='small'
    url='https://www.facebook.com/natgeo/videos/10156364216738951/'
  />
)

Features

Capabilities under the hood.

  • Cloud Browsing
    Fast, scalable, and reliable browser automation.
  • High Availability
    Cloud based solution with superior operational performance.
  • Auto Caching
    Query caching police for improving response timing.
  • Screenshotting
    Full or partial website snapshots with device support.
  • Data Normalization
    Type check rules to guarantee extracted data is correct.
  • Color Detection
    Predominant palette for each detected image.
  • Adblock Builtin
    Faster reponsive timing avoids unnecessary requests.
  • Media Support
    Detect the original streaming video/audio source.
  • Embed Mode
    Incrust content directly in your HTML markup.
  • Cloud Browsing
    Fast, scalable, and reliable browser automation.
  • High Availability
    Cloud based solution with superior operational performance.
  • Auto Caching
    Query caching police for improving response timing.
  • Screenshotting
    Full or partial website snapshots with device support.
  • Data Normalization
    Type check rules to guarantee extracted data is correct.
  • Color Detection
    Predominant palette for each detected image.
  • Adblock Builtin
    Faster reponsive timing avoids unnecessary requests.
  • Media Support
    Detect the original streaming video/audio source.
  • Embed Mode
    Incrust content directly in your HTML markup.

Microlink API

Build APIs from websites

Microlink Query Language (MQL) is a programmatic way to getting content from any URL.

Using MQL (docs)

const mql = require('@microlink/mql')
const { status, response, data } = await mql(
  'https://www.facebook.com/natgeo/videos/10156364216738951/'
)

console.log('status', status)
console.log('headers', response.headers)
console.log('data', data)

Using Microlink CLI (docs)

$ microlink-api https://www.facebook.com/natgeo/videos/10156364216738951/
{
  "title": "Meditative Snow Monkeys",
  "description": "Enjoy a moment of Zen with Japanese macaques (or snow monkeys) as they soak in natural hot springs.",
  "lang": "en",
  "author": "Meditative Snow Monkeys",
  "publisher": "Facebook Watch",
  "image": {
    "url": "https://microlink.io/data/facebook.com!natgeo!videos!10156364216738951/scontent-lga3-1.xx.fbcdn.net!v!t15.5256-10!p200x200!14694173_10154032640148951_491265175429578752_n."
  },
  "audio": {
    "url": "https://video-lga3-1.xx.fbcdn.net/v/t42.1790-2/14845217_10154032640598951_4467150078175346688_n.mp4?_nc_cat=107&efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfdjNfMjU2X2NyZl8yM19tYWluXzMuMF9mcmFnXzJfYXVkaW8ifQ==&_nc_ohc=3DmUHTSEXAwAQlyPRV974CNz3boyqeGN1LklnsPiknwmtdF3Z9Ki6RaYg&_nc_ht=video-lga3-1.xx&oh=609ebf71f42d1c33b7bee9abca9da059&oe=5DEAB308",
    "type": "mp4",
    "size": 367340,
    "size_pretty": "367 kB"
  },
  "url": "https://www.facebook.com/natgeo/videos/10156364216738951/",
  "iframe": "<div id=\"fb-root\"></div>\n<script async=\"1\" defer=\"1\" crossorigin=\"anonymous\" src=\"https://connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v5.0\"></script><div class=\"fb-post\" data-href=\"https://www.facebook.com/natgeo/videos/10156364216738951/\" data-width=\"552\"><blockquote cite=\"https://www.facebook.com/natgeo/videos/10156364216738951/\" class=\"fb-xfbml-parse-ignore\"><p>Enjoy a moment of Zen with Japanese macaques (or snow monkeys) as they soak in natural hot springs.</p>Posted by <a href=\"https://www.facebook.com/natgeo/\">National Geographic</a> on&nbsp;<a href=\"https://www.facebook.com/natgeo/videos/10156364216738951/\">Sunday, April 14, 2019</a></blockquote></div>",
  "date": "2019-12-06T15:09:09.000Z",
  "logo": {
    "url": "https://microlink.io/data/facebook.com!natgeo!videos!10156364216738951/logo.clearbit.com!facebook.com.png",
    "type": "png",
    "size": 1379,
    "height": 128,
    "width": 128,
    "size_pretty": "1.38 kB",
    "palette": [
      "#4464B4",
      "#9CB4DC",
      "#3C5C9C",
      "#293D6F",
      "#96A9D1",
      "#2A416E"
    ],
    "background_color": "#4464B4",
    "color": "#010203",
    "alternative_color": "#EFF3F9"
  },
  "video": {
    "url": "https://microlink.io/data/facebook.com!natgeo!videos!10156364216738951/video-lga3-1.xx.fbcdn.net!v!t42.1790-2!14854183_175888539534834_2965041070909423616_n.mp4!_nc_cat=10",
    "type": "mp4",
    "size": 1195571,
    "size_pretty": "1.2 MB"
  },
  "screenshot": {
    "size_pretty": "666 kB",
    "size": 666254,
    "type": "png",
    "url": "https://microlink.io/data/facebook.com!natgeo!videos!10156364216738951/microlink.nyc3.digitaloceanspaces.com!p6o7IRFr__Pu_1bn33ZACyXiqMw_.png",
    "width": 1280,
    "height": 800,
    "palette": [
      "#CCB230",
      "#F7DD7E",
      "#2C4484",
      "#647798",
      "#B7BDC8",
      "#384464"
    ],
    "background_color": "#CCB230",
    "color": "#FFFFFF",
    "alternative_color": "#2B4281"
  }
}
By using this website you agree to ourprivacy.