Getting ID from a private list

restapi
lists
api

#1

I’m looking to get the ID from my private list. Apparently the only way of doing so is to make a GET request from https://api.twitter.com/1.1/lists/members/show.json


Here’s where I’m at:

https://api.twitter.com/1.1/lists/members/show.json?slug=private-test&owner_screen_name=WeAreTTU_&screen_name=WeAreTTU

Which gives me:
{"errors":[{"code":215,"message":"Bad Authentication data."}]}

What am I doing wrong?


Twitter account: @WeAreTTU_


#2

Sounds like you probably are not authenticating the request correctly. Have you run through the OAuth steps to authenticate as the owner’s account before making the call? What tools are you using to request the API endpoint? If you’re looking for something simple to start out with, I’d suggest our twurl command-line tool.