Transform HTML Content to Apple News / Google AMP / Facebook Instant Articles with Distro

Automatically transform article HTML for third-party platforms such as Facebook Instant Articles, Apple News, Google AMP “Just” make a curl request … curl –data " <h1>Distro.Mic example</h1> <p>Text and media embed</p> <iframe src=\"https://www.youtube.com/embed/M7lc1UVf-VE\"></iframe> " https://distro.mic.com/1.0/format?output=apple-news … and the content is “translated” to the specified format: { "article": [{ "text": "Distro.Mic example", "additions": [], "inlineTextStyles": [], …

Getting the share count of a URL

At work I’m working on a project in which we need to track the share count of a URL. Below are my quick notes. In all examples I’m getting the share count of https://www.facebook.com/. Note that I’m using the jq notation to extract the actual result from the response. Just GET it Facebook Request: curl …

Responsible Social Share Links

Social share scripts are convenient and easy to copy & paste but rely on JavaScript and add additional overhead to your site, which means more HTTP requests and slower load times. Instead, use share links that don’t require you to load scripts for each social site. Back to the basics: URLs and plain HTML (with …

Facebook Is a Fundamentally Broken Product That Is Collapsing Under Its Own Weight

Every time someone visits News Feed there are on average 1,500 potential stories from friends, people they follow and Pages for them to see, and most people don’t have enough time to see them all. These stories include everything from wedding photos posted by a best friend, to an acquaintance checking in to a restaurant. …

Facebook Demetricator

The Facebook interface is filled with numbers. These numbers, or metrics, measure and present our social value and activity, enumerating friends, likes, comments, and more. Facebook Demetricator is a web browser addon that hides these metrics. No longer is the focus on how many friends you have or on how much they like your status, …