The FML API
FML stories, their comments and member profiles, as JSON. For an app, a bot or a widget on your site.
curl -g "https://www.fmylife.com/api/v2/article/list?status[]=4&page[number]=1&page[bypage]=1" \
-H "X-VDM-Api-Key: $API_KEY"{
"data": [
{
"id": 2,
"title": "My ex's wedding",
"content": "Today, my girlfriend sent me pictures of a wedding she saw on Facebook: \"It's so beautiful.\" It was my ex's wedding. FML",
"published": "2016-05-11T13:09:04+02:00",
"slug": "my-exs-wedding"
}
],
"meta": {}
}My ex's wedding
Today, my girlfriend sent me pictures of a wedding she saw on Facebook: "It's so beautiful." It was my ex's wedding. FML
A sample response: the real request returns the latest published FML.
Getting started
API keys, headers, response format and your first request.
Sign a member in
Get a member's token to vote, comment or post on their behalf.
Errors
The API's error codes and how to handle them.
Reference
Every public endpoint, with parameters and examples.
Sign in with FML
A “Sign in with FML” button in your app, with OAuth 2.
OpenAPI
The reference as OpenAPI 3.1, for Postman, Insomnia or a client generator.
