Open jaredcwhite opened 12 years ago
They could do that now that some parts of the API don't require authentication :
eg: the data for that post is at : https://alpha-api.app.net/stream/0/posts/413557
;) K
On 13 September 2012 23:00, Jared White notifications@github.com wrote:
I was wondering if App.net will be adding oEmbed support so services like Embed.ly can look up a URL like https://alpha.app.net/rickcaffeinated/post/413557 and bring back a bunch of useful data that could be used to construct an "embedded" App.net post. (similar to the embedded you-know-what of the you-know-who social network). I know I can just access the API endpoint and get back awesome JSON, but this might be a nice to have at some point.
— Reply to this email directly or view it on GitHubhttps://github.com/appdotnet/api-spec/issues/189.
You could be right, Embed.ly may be using custom APIs under the hood and oEmbed is just a format they expose, so they'd just have to add App.net as one of their supported services. Maybe I'll shoot off a support email. :)
I think @jaredcwhite gave up too easily. Embed.ly and oohEmbed are providing oEmbed for some sites but some others such as Flickr, Viddler, Hulu, and Vimeo support it directly.
I am working on an oEmbed plugin for Jekyll and wanted to allow embedding of Alpha posts, but without proper support for oEmbed, it will require some custom logic to support rather than just throwing the URL at the ruby-oembed gem. Please do consider providing an oEmbed endpoint. In reality, it will simply return the same data that you linked before probably only by pinging a different endpoint to get the data in a uniform fashion.
Great idea, thanks! Let me see what I can do.
I was wondering if App.net will be adding oEmbed support so services like Embed.ly can look up a URL like https://alpha.app.net/rickcaffeinated/post/413557 and bring back a bunch of useful data that could be used to construct an "embedded" App.net post. (similar to the embedded you-know-what of the you-know-who social network). I know I can just access the API endpoint and get back awesome JSON, but this might be a nice to have at some point.