Closed mycroftcanner closed 4 years ago
Are you setting your own custom user agent?
Cause the ones automatically generated by SwiftyInsta
never gave me any issues…
Do you mind elaborating on this? @mycroftcanner
Using the ones automatically generated.
You are using LoginWebView
or LoginWebViewController
, correct?
I might try to address this (#96) so the user agent matches the SwiftyInsta
APIHandler
one, but I would say that you receiving that email is actually "intended behaviour" on Instagram side, and nothing to worry about: you are indeed login from a device you don't usually use when dealing with SwiftyInsta
requests, after all.
ok so this is from the loginwebviewcontroller... and using the handler doesn't generate any warnings... I see.
Yes, cause it's the only place where we simulate being on an iPhone (and it clearly states "iPhone" on the email).
Everywhere else in SwiftyInsta
you are using a 5 year old Android device hahaha
(We might need to address that too in the future)
It would be better to generate a standard user agent that looks as if the user logged in using Instagram. Is that possible?