-
Hello, I am searching users with below endpoint. I want to know If returned users have private accounts or followed by me. On previous framework, It was returning friendShip statuses but I guess in this one It returns nil. Is it possible to know that value because I don't wanna call
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I could get values with below code. As I saw, It is returning but val is not in the model.
|
Beta Was this translation helpful? Give feedback.
-
Hey @emreond, The property you're looking for is About the friendship status in |
Beta Was this translation helpful? Give feedback.
Hey @emreond,
The property you're looking for is
user.access
, an enum having.default
,.private
and.verified
cases.About the friendship status in
User
models, I simply removed it cause most of the times, as you would know since you were using SwiftyInsta, it is not populated and people would complain about it, and I would find myself wasting so much time in explaining them that it's Instagram's "fault" in not returning those anymore.I'm considering adding it back for
5.0.0
but I'm not 100% convinced, yet.