Welcome Guest, Not a member yet? Register   Sign In
url parameters won't...show?
#1

[eluser]Unknown[/eluser]
Hi All

I am completly new to CI and pretty much a novice programmer. I'm trying to build a site that uses the linkedin API. LinkedIn uses OAuth to verify users and I'm currently struggling with this. I've gotten so far as to authenticating on the linkedin servers and getting the user to be returned to my site. However, when linkedin returns the user to me I get a URL like this:

getaccesstoken/?oauth_token=bde87c5e-4d2c-4088-9bfc-fb33ce9cf42f&oauth_verifier=24828

How can I with codeigniter access the two variables oauth_token and auth_verifier? The don't show up in $_GET, $this or anything??
#2

[eluser]WanWizard[/eluser]
The $_GET array is disabled by default in CodeIgniter.

Search for MY_Input and _sanitize_globals() to find the thread with the solution.
#3

[eluser]bretticus[/eluser]
Or you can just read my incredibly biased opinions on the matter with a howto including a of couple options on how to enable it. :cheese:

My shameless attempt at self-promotion can be found here.
#4

[eluser]Unknown[/eluser]
bretticus! Thank you so much! your tutorial solved it for me!




Theme © iAndrew 2016 - Forum software by © MyBB