$p("sendItem"): (Object) -> undefined
This function literally sends the metadata of your contents to us. Passing in JavaScript Object will define
$p("sendItem",{
url: "http://liftigniter.com",
title: "Welcome to LiftIgniter",
thumnail: "http://example.com/favicon.ico",
rating: 5
})
The identifier field
Our backend recognizes
url
as the default identifier, and it's a required field. We do allow you to call it by an alternative,id
, but you'll have to request us to make a change for this.
Supported Data types
Keep in mind that LI supports String, Number, and Array of Strings. Any other type might appear to be properly sent over due to 200 status code. But it doesn't actually get registered in our backend server.