Twitter methods

I’m in the Twitter Querying II Section and I was curious about the method being used twitter_api.GetUserTimeline. I searched GetUserTimeline in Twitter’s development site.
There are a few other parameters for this that Codecademy doesn’t have us input. I’m assuming if I wanted to use any other methods I would search in here. But how would I know which parameters are vital? At first glance I would think all are necessary.

Here -> in the parameters section all optional parameters have a grey optional label and required parameters have required label.

Wow I can’t believe I missed that, thanks! Funny how like all of them are optional :slight_smile:

You’re very welcome!

It depends on the method :slight_smile: In some cases, you have to pay attention to the extra notes, like here:

Always specify either an user_id or screen_name when requesting a user timeline.

So they both are optional, but you have to specify one of them :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.