Callback url not working while integrating Twitter with iOS

2.2k Views Asked by At

I am using mgtwitterengine to implement twitter login on my ios app. I'm having trouble logging in to my application using this library.

After giving my twitter username/password, I am redirected to the landing page of my website (on Twitter development settings, I have given a callback url to http://mywebsite.com and I am redirected to mywebsite.com after giving my username/password and signing in). How do I get it to redirect to my application's home page?

2

There are 2 best solutions below

2
kumareshm174 On

I was facing the same issue before.Removing the callback url from the development settings will automatically redirect to your application's home page.Hope this helps you.

1
NSPratik On

Callback URL is not going to be used by your iOS or Android app. So, it doesn't matter what you enter here, as long as it's a valid URL such as [ https://pratik.com ] or [ http://myAppName.com ]