Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support "tweet_mode=extended" #32

Closed
weizlogy opened this issue Jan 16, 2020 · 3 comments
Closed

support "tweet_mode=extended" #32

weizlogy opened this issue Jan 16, 2020 · 3 comments

Comments

@weizlogy
Copy link

Long tweet is a specification that is omitted.

To get the unabbreviated tweet, append the query "tweet_mode = extended" to the end of the API URL.

https://dev.twitter.com/overview/api/upcoming-changes-to-tweets

@stefanjwojcik
Copy link
Contributor

Specifying 'extended' works for me, just add the tweet mode to the function call.

julia> user_t = get_user_timeline(screen_name = "stefanjwojcik", count = 1, tweet_mode = "extended")
julia> user_t_min = get_user_timeline(screen_name = "stefanjwojcik", count = 1)
julia> user_t_min[1]==user_t[1]
false

You'll notice that the one with 'extended' has a full text field that reveals the full tweet text rather than truncated.

HTH

@weizlogy
Copy link
Author

thanks in advice.
I was able to do it the way I learned from you.

@randyzwitch
Copy link
Owner

This is probably something we should highlight when some proper documentation is written

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants