forked from pool/python-twython
23 lines
867 B
Diff
23 lines
867 B
Diff
![]() |
From 340fb4ea162b3e02fb5e245ad8651ec62d34cea5 Mon Sep 17 00:00:00 2001
|
||
|
From: Vishvajit Pathak <vishvajit@motoinsight.com>
|
||
|
Date: Sat, 29 Sep 2018 15:18:31 +0530
|
||
|
Subject: [PATCH] ISSUE-497 : Fixed the api end point in get_oembed_tweet
|
||
|
|
||
|
---
|
||
|
twython/endpoints.py | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/twython/endpoints.py b/twython/endpoints.py
|
||
|
index 00392b8..9da30db 100644
|
||
|
--- a/twython/endpoints.py
|
||
|
+++ b/twython/endpoints.py
|
||
|
@@ -268,7 +268,7 @@ def get_oembed_tweet(self, **params):
|
||
|
https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-oembed
|
||
|
|
||
|
"""
|
||
|
- return self.get('statuses/oembed', params=params)
|
||
|
+ return self.get('oembed', params=params)
|
||
|
|
||
|
def get_retweeters_ids(self, **params):
|
||
|
"""Returns a collection of up to 100 user IDs belonging to users who
|