How to obtain Tweet ID using Fabric

ios
fabric
swift
twitterkit

#1

I know how to display a tweet if I have a Tweet ID but I don’t know how to use Fabric in order to find Tweet Ids.

For example, it would be ideal if there is a function in Fabric that takes in a Twitter Screen name as an input and spits out a bunch of Tweet Ids from that person’s timeline. Anyone know how to do this with Fabric?


#2

If you want to show the Tweets you’re getting IDs for, you can cut straight to displaying a User timeline: https://docs.fabric.io/ios/twitter/show-timelines.html#user-timeline

If you’re just looking for the Tweet IDs, you can make a call to our user_timeline endpoint using the REST API client in Fabric.

We definitely recommend taking advantage of the pre-built Tweet views and view controllers, since they are built to be efficient with network requests and image loading.


Need tweet id after posting tweet through iOS app