Open chrispmonkey opened 10 years ago
@chrispmonkey Are you referring to the currently authenticated user in your app or another user?
Currently authenticated user
@dezinezync Essentially I want to check if the currently authenticated user is private or not and if they are then present them with a dialog that says that their profile must be public or instructions on how to change their profile to public before they can use the app.
@chrispmonkey doesn't that go against the whole privacy settings bit? I'm still looking into this, but I'd strongly advise you reconsider your model for your app. I doubt many users would want to convert their profiles to public, just so they can use your app (which is what brings you to ask this question, I believe).
@dezinezync The app involves users the ability to post their pictures for others (friends and/or strangers) to view and like in a sort of ranking ability. The process of checking for if a user is private or not is to remind them or help them to do the process in order to participate. If a user does not wish to participate within the app, the user will be allowed to view pictures and like them, but not post any of their own for the public. I hope this clarifies my reasoning for it.
@chrispmonkey indeed it does. I'll try and work this out.
@dezinezync any luck on a solution to determining if a user's account is private or not?
I have the same problem. My app wants to know if logged in user is private or not. Please help.
4 years later: https://i.instagram.com/api/v1/users/{user_id}/info/ has a field called is_private
under user
Please bare with me, I know it has to do with the getRelationshipStatusOfUser method, but I don't necessarily understand how to implement it. I essentially just want to get whether the user is private or not and store that value in a standardUserDefault.