I put in my api key in the embed.ly settings.

Then, i created a provider that used the endpoint: http://api.embed.ly/1/preview and it never returns anything (when using the test form or any other form). If I change the endpoint to http://api.embed.ly/1/oembed then it works.

I'm assuming that I should be able to put in my account's key, then use the 'preview' endpoint? Is anyone doing this? Any ideas why it stops returning oembed data when I try to use preview?

Comments

voxpelli’s picture

Status: Active » Fixed

/preview is not an oembed-endpoint and thus I think this module neither is supporting nor should support it.

Rob_Feature’s picture

Status: Fixed » Active

Actually I believe it is an endpoint that's available for premium users (Preview API docs). If you can't use premium endpoints, what's the purpose of entering your user/api information?

Anonymous’s picture

Status: Active » Fixed

The preview endpoint supports a different API with a different response. It is not oembed.

You can use your premium account's API key on the oembed endpoint. http://embed.ly/pricing Plans allow you to request X number of URLs from any of their endpoints. They also give you access to new endpoints for new APIs, but the plan's limits apply to all of the endpoints. If you have questions about embed.ly's pricing and services, get in touch with them.

Rob_Feature’s picture

Ah, ok, so the 'preview' endpoint isn't just more robust oembed endpoint, it's something completely different. Got it, thanks for clarifying.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.