TheM4hd1 / SwiftyInsta

Instagram Private API Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API :"v1/friendships/create" trigger log out

swelzh opened this issue · comments

Hi, TheM4hd1 :
I was using i.instagram.com/api/v1/friendships/create/{userPk}/, but found that it tragger "ve Been Logged Out" . I try to fix this by add cookie header, but failed . Could you please help me

details:
Optional(Ig_Followers.GenericError.custom("https://i.instagram.com/api/v1/friendships/create/1492092934/.\nInvalid response.\n{\n "errorBody" : "Please log back in.",\n "errorTitle" : "You've Been Logged Out",\n "logoutReason" : 3,\n "message" : "login_required",\n "status" : "fail"\n}.\n403"))

Hey 😊
I can't seem to replicate the issue tbh. What version are you on? @swelzh