get_oembed_tweet() uses incorrect endpoint #497
Labels
No labels
Bug
Enhancement
Feature Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: code/twython#497
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
attempting to use this function gives
TypeError: get_oembed_tweet() takes 1 positional argument but 2 were givenexample code to reproduce:
Twitter API doc for this method here.
Twython assumes the wrong endpoint.
Correct endpoint is https://publish.twitter.com/oembed
and a properly constructed call for my example above should look like