skip to Main Content

Get twitter friends list? – Twitter API

I'm getting Bad Authentication data response in twitter friends/list API. I'm getting userid, screen name, authToken and authTokenSecret when login. func loadFollowers(userid:String) { //let twapi = "https://api.twitter.com/1.1/followers/list.json?cursor=-1&user_id=(session)&count=5000" let twapi = "https://api.twitter.com/1.1/friends/list.json?cursor=-1&user_id=(userid)&count=10" let url2 = URL(string: twapi)! print(url2) URLSession.shared.dataTask(with: url2, completionHandler:…

VIEW QUESTION
Back To Top
Search