oEmbed returning Bad Authentication data


#1

Using the documentation https://dev.twitter.com/rest/reference/get/statuses/oembed, I’ve been trying to leverage oEmbed. In the documentation oEmbed endpoint supports unauthenticated requests. I tried using the example, and I am getting an error in return, stating bad authentication data. I was wondering if you can point me into the right direction. Thank you.

Using the example:
https://api.twitter.com/1.1/statuses/oembed.json?id=507185938620219395

I am getting a bad return:
{“errors”:[{“code”:215,“message”:“Bad Authentication data.”}]}


#2

This is working out for me, please disregard.


#3

The unauthenticated endpoint is /1/statuses/oembed - if you are using an app context with authentication you should use /1.1/ which requires the authentication.


#4