TheM4hd1 / SwiftyInsta

Instagram Private API Swift
MIT License
225 stars 51 forks source link

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

Closed swelzh closed 4 years ago

swelzh commented 4 years ago

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"))

sbertix commented 4 years ago

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