FeedHive/twitter-api-client

GET lists/members need list parameters

guillaumeLamanda opened this issue · 0 comments

Describe the bug

The twitter endpoint /list/members need list parameters but currently doesn't take any.

To reproduce
Steps to reproduce the behavior:

  1. Install the latest Twitter client
  2. Open a JS/TS file
  3. Create a twitter client,
  4. Call client.accountsAndUsers.listsMembers() method
  5. See the error :
     data: '{"errors":[{"code":112,"message":"You must specify either a list ID or a slug and owner."}]}' } 
    

Expected behavior

Id should take list_id and slug as parameter according to the endpoint API

Package Manager:
To install Twitter API Client, I used yarn