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

unwrapping an Optional value

I am trying to login with macbook using code but I keep on getting this error: Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value // API to log an user in func login(userType: String, completionHandler: @escaping…

VIEW QUESTION
Back To Top
Search