We launched our developer program quietly a few months ago. The Thinglink SDK, as you could call it, allows you to create your own Rich Media Tags simply and make them available to all Thinglink users.
Today we’re doing a couple of major improvements to our developer offering. First, we’re allowing the tags you create to be sticky, i.e. the tags can have a close button and they won’t go away when the user moves the mouse out of the tag. This is especially useful if you developed a video player or a similar application.
Second, we released a Developer Preview of Thinglink Connect. Thinglink Connect is a simple library which makes it very easy to add Thinglink to any platform. It uses the industry standard OAuth2 –specification (or at least a very close approximation of revision -16 of it.)
Here’s an example how you would use it e.g. with JQuery
First, we load the tlconnect.js script. In this case, we do it synchronously. Second, we initialize the TLC object which is created by the tlconnect.js script. We put in the client id (which you can get from your Developer page on www.thinglink.com/developer) , an user ID (which is an opaque string from you), the isOwner parameter specifying that yes, the user currently logged in on your site is also the person responsible for editing this site. Then, finally the OAuth2 –specified redirect URI.
Third, we add just a simple DIV which is replaced by TLC.init() with a nice little “Thinglink Connect” icon if the user isn’t yet logged in.
Check out the full documentation at http://www.thinglink.com/help/Developer. There are a lot more options, functions and tweakeroos available to ease your integration. Please remember that this is a developer preview, so things might still be changing around a bit. If you want to influence the library and the API, now’s the time. We welcome comments at http://support.thinglink.com.
Oh yeah, and I almost forgot: we now support oEmbed on all of our image pages. It’s a quick hack, but let us know if you’re finding it useful. This should make it far easier to embed Thinglinked images if your platform supports the oEmbed standard.