updated GetTweet anon endpoint
This commit is contained in:
parent
00eb392224
commit
02625a94bd
2 changed files with 78 additions and 1 deletions
|
|
@ -264,3 +264,15 @@ func (conversation *threadedConversation) parse() []*Tweet {
|
|||
}
|
||||
return tweets
|
||||
}
|
||||
|
||||
type tweetResult struct {
|
||||
Data struct {
|
||||
TweetResult struct {
|
||||
Result result `json:"result"`
|
||||
} `json:"tweetResult"`
|
||||
} `json:"data"`
|
||||
}
|
||||
|
||||
func (tweetResult *tweetResult) parse() *Tweet {
|
||||
return tweetResult.Data.TweetResult.Result.parse()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue