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
Comment #1
voxpelli commented/preview is not an oembed-endpoint and thus I think this module neither is supporting nor should support it.
Comment #2
Rob_Feature commentedActually 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?
Comment #3
Anonymous (not verified) commentedThe 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.
Comment #4
Rob_Feature commentedAh, ok, so the 'preview' endpoint isn't just more robust oembed endpoint, it's something completely different. Got it, thanks for clarifying.