if a user deny the access of application, then how to navigate the user back to our website ??
currently a user click the 'sign in with twitter' button.then it goes to twitter website
where its is being asked
An application would like to connect to your account Allow {application name }access?
and if user click on Deny button then it halts on this link where this is displayed
OK, you've denied {application name } access to interact with your account!
Feel free to find other applications and find out what people are talking about right now at Twitter.
so how do i sent user back to my website?? ask for code if required...
Thanks
If the users clicks "deny" you can't force them to redirect back to your site. There is no configuration that will do this. You will just have to hope the user clicks on your application name.
Twitter does this automatically. I would make sure that everything on twitters side (specifically call back url) is set correctly. Once it is, and a user denies the request, it will send back to the request URL with a 'denied' $_GET key that you can use to key off of for a user message.
精彩评论