2021-06-30 15:05:55 +00:00
|
|
|
accessing
|
|
|
|
userTweetsFrom: username
|
2021-06-30 20:56:53 +00:00
|
|
|
| rawResponse queryURL |
|
2021-06-30 15:05:55 +00:00
|
|
|
"The following query gets the last 100 tweets, that is the maximun allowed for a particular user without pagination:"
|
2021-06-30 20:56:53 +00:00
|
|
|
queryURL := self usersBaseEndPoint, (self userIDFrom: username), '/tweets', self defaultQueryParameters.
|
2021-06-30 15:05:55 +00:00
|
|
|
rawResponse := self rawResponseForURL:queryURL.
|
|
|
|
^ (STONJSON fromString: rawResponse)
|