Skip to content

Can I know If user is private account when searching? #173

Answered by sbertix
emreond asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@emreond
Comment options

@sbertix
Comment options

@emreond
Comment options

Answer selected by sbertix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants