i have an app that want to share to twitter
when user click the share button and he has a token the app will process in the background and tweet using predefined message (user cannot change the message)
but if he/she doesn't have the token then the app will show popup login webview dialog to the user with our app name like in the picture.
After he/she successfully login dismiss login dialog and the app will repeat step 1 (tweet in background)
how can i archive this? thanks.