thanks bonnell for the quick reply.
iOS + swift.
If I may add another one:
https://docs.fabric.io/apple/twitter/show-tweets.html#display-a-single-tweet, this example:
let client = TWTRAPIClient()
client.loadTweetWithID(“20”) { tweet, error in
if let t = tweet {
self.tweetView.configureWithTweet(t)
} else {
println(“Failed to load Tweet: (error.localizedDescription)”)
}
}
lastly, https://docs.fabric.io/apple/twitter/access-rest-api.html#load-a-single-tweet, The comment of the code says:
// Fetches @jack’s first Tweet
let client = TWTRAPIClient()
client.loadTweetWithID(“20”) { (tweet, error) -> Void in
// handle the response or error
}
Where in the code above did we put jack’s username/id so that we can fetch his tweet with id #2 ? The comment is just plainly confusing. It should have said: How to display a tweet with id #2 instead
And here https://docs.fabric.io/apple/twitter/access-rest-api.html#load-a-user
It would be cool to complete the example to show what can we get from getting the user by id (tweet, etc…)
lastly, (I hope its not to much already). Can you tell me what kind of stuff can we do by load a user by id ?