Description Usage Arguments See Also Examples
Sets up URL encoded query list to query for user timelines in the statuses/user_timeline request. Most commonly use as support function for twitUT1.
1 2 3 |
screen_name |
(optional if user_id is specified) Character. Screen name of user to request the timeline from. |
user_id |
(optional if screen_name is specified) Integer. User ID of user to request the timeline from. |
count |
(optional, default = 200) Integer. Number of tweets per request; max = 200. |
since_id |
(optional) Integer. Request results with tweet id greater (newer) than this value. |
max_id |
(optional) Integer. Request results with tweet id less (older) than or equal to this value. |
trim_user |
(optional) Logical. If true returns only user_id in user object. False returns complete user object. |
exclude_replies |
(optional) Logical. If true prevents replies on user timeline from being returned. |
contributor_details |
(optional) Logical. If true, contributor's screen_name is also returned, instead of only user_id. |
https://dev.twitter.com/rest/reference/get/statuses/user_timeline
1 2 3 4 | twitter_token <- twitToken(consumer_key, consumer_secret, access_token, access_secret)
query <- twitUTQuery(screen_name = 'thomas_laetsch')
user.data <- twitUT1(twitter_token, query)
user.json.data <- httr::content(user.data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.