08-17-2011, 09:49 AM
[eluser]joanfihu[/eluser]
I need to get the query string parameters from a url that twitter sends to me:
http://localhost:8888/marnews/index.php/dashboard/access_token?oauth_token=XXXXXXXXXXXXXXXX&oauth_verifier=XXXXXXXXXXXXXXXX
When I recive this request I get a 302 error and I'm redirected to: http://localhost:8888/marnews/index.php/dashboard/access_token (Notice that is the same url without query string parameters)
Do you know any way to get this parameters without enabling query strings?
I'm using Codeigniter Reactor 2.0.2
I've tried to do and but I think that when I'm redirected and I loose this data.
Do you know how to fix this?
Thanks in advance.
I need to get the query string parameters from a url that twitter sends to me:
http://localhost:8888/marnews/index.php/dashboard/access_token?oauth_token=XXXXXXXXXXXXXXXX&oauth_verifier=XXXXXXXXXXXXXXXX
When I recive this request I get a 302 error and I'm redirected to: http://localhost:8888/marnews/index.php/dashboard/access_token (Notice that is the same url without query string parameters)
Do you know any way to get this parameters without enabling query strings?
I'm using Codeigniter Reactor 2.0.2
I've tried to do
Code:
echo $this->input->get('oauth_token');
Code:
print_r($_SERVER)
Do you know how to fix this?
Thanks in advance.