-
Hello, I want to get the total following count of a user. I am using P.S: What I want to achieve is that I want to create a progress bar for fetching all followings so It is also ok for me to get the total following count in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey @emreond, If It shouldn't be Endpoint.User.summary(for: identifier)
.unlocking(with: secret)
.task { _ in }
.logging(level: .responseBody)
.resume() |
Beta Was this translation helpful? Give feedback.
Hey @emreond,
If
counter
isnil
it means the data you're looking for is not populated in the response.It shouldn't be
nil
when callingEndpoint.User.summary(for:)
, though.Do you mind sending me the console log for the response?
Assuming you're calling it like this, add the logging call.