Closed Sprachprofi closed 3 years ago
I found the solution:
tweet = client.status(1355184111900569604, tweet_mode: "extended")
Also, the image is available through tweet.media.first.media_url
.
Neither the tweet_mode: "extended"
parameter (which can also be added to list_timeline, user_timeline
etc. methods) nor the media_url
parameter are documented. Would be good to add these to the documentation.
Thank you for a great gem!
Retrieval of tweets appears to be broken, possibly by an API change. When I try to retrieve https://twitter.com/ProSyn/status/1355184111900569604 through
tweet = client.status(1355184111900569604)
tweet.text and tweet.full_text both yield only part of the tweet, and the media array is empty - the image also isn't accessible through any other method, as far as I can see.
Has anyone got this working? Or has everyone migrated to another gem or fork that works? If so, which one? I cannot use the official Twitter commandline thingie because Heroku.