Socialmetrica/Datanalitica.package/TwitterAPI.class/instance/userQueryFor.selecting..st

7 lines
417 B
Smalltalk
Raw Normal View History

2021-07-26 12:46:45 +00:00
accessing
userQueryFor: username selecting: tweetsOrMentions
| rawResponse queryURL |
"The following query gets the last 100 tweets or mentions that is the maximun allowed for a particular user without pagination:"
queryURL := self userEndPointFor: username selecting: tweetsOrMentions.
rawResponse := self rawResponseForURL:queryURL.
^ TwitterAPIResponse new fromDictionary: (STONJSON fromString: rawResponse)