My App is live & broken: Get Channel Followers not working


Impossible to get the right “total” I do get the right answer but it’s 0 and I have 8 followers…

I did login and give authorisation to moderator:read:followers in scope then:
I do:
let url = URL(string: “\(userId ?? “”)/”)
let sessionConfig = URLSessionConfiguration.default
let session = URLSession(configuration: sessionConfig)
var request = URLRequest(url: url!)
request.httpMethod = “GET”
request.addValue(“Bearer (accessToken)”, forHTTPHeaderField: “Authorization”)
request.addValue(ConsumerKey, forHTTPHeaderField: “Client-Id”)
request.addValue(“application/json”, forHTTPHeaderField: “Accept”)

To get:

“data” : [


“pagination” : {


“total” : 0


Which seams right but the total is wrong…

So whats the Actual URL you are calling?

Debug that out and check. and it succeeds as I do get a total which is wrong

Interesting… pasting it here made me realise the final / when removed it works fine… We can close the topic

Yeah you set the ID to 598287887/ which is not 598287887

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