First release classes to connect with PHP to linkedIn api
You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “First release classes to connect with PHP to linkedIn api”.
Comments
24 Responses to “First release classes to connect with PHP to linkedIn api”
Leave a Reply

Hi!
I was trying your class and i keep getting a 400 Error:
Invalid auth/bad request (got a 400, expected HTTP/1.1 20X or a redirect
Any ideia what i’m doing wrong?
Thanks for sharing your class.
Well, are you getting the login screen from LinkedIn? If so your callback url is wrong. In the config file you can enter this.
w
Hi Winfred, Thanks for the head start
Your instructions and easy of use classes made implementation EASY.
I have a demo here http://www.recruitmentdirectory.com.au/images/blog/linkedin/index.php
Great work, nice to see
w
Hi! Thanks for putting this together. Really excited to use it. I’m seeing the same error as @Ricardo – Invalid auth/bad request (got a 400, expected HTTP/1.1 20X or a redirect
I do not get to the login screen. What might be the issue?
Thanks again!
Hi, thanks for the great work. Do you know if it is possible to test this code locally? I mean without having to have the callback url and not getting the error 401?
Again, thank you for any feedback.
Hi,
Thanks for the great work.
I am facing some weird problem with API.
I do not get to the login screen.
When I run the script it goes in to redirect loop.
when I track the program, OAuth class returns me blank object.
I tried with your demo page with same api key,secret key and callback, it works fine.
I am on windows XP and using XAMPP on local machine.
Is I am doing something wrong?
Please advice me.
Thanks in advance.
Hello,
can someone please guide me as i am just reading about Oauth and going crazy, is there suppose to be some dll that i need to place somewhere or what? I have downladed the ziped file gone through it and when i execute the example i get a message “You should install PECL lib OAuth”. so how do i go about doing this? i have goggled it and no luck i even went to php.net so read about installation of Oauth but that does not help much. I am using WAMP. can someone please put me in right direction.
many thanks,
Shairyar
can anyone help please? please contact me at info@placingjobs.com
Hi Great code thank for your efforts,
I am currently working on a site that would like to show the public profile of their current uses and would like to using you classes to do so can you please give me some guidance, the reason I am not using widgets which would be faster is the clients site is https.
any help would be appreciated
the code that i have tried is as -
$this->setProfileFields($fields);
$uri = BASE_API_URL . ‘/v1/people/id=’ . urlencode($PublicProfileURL) . ‘:public(‘ . implode(“,”,$fields) . ‘)’;
$this->_oauth->fetch($uri);
$profile = $this->_oauth->getLastResponse();
$this->setProfile($profile);
return $this->parseProfile();
Hi,
Good work.
I have one doubt.
I am using this flow to authenticate in a desktop application.
After redirecting the user to linkedIn, instead of a callback URL I will make the user to manually enter the PIN which he saw at LinkedIn.
But in your code I am not able to find where/how the “oauth_verifier” is used, and how can I manipulate(set/get) its value.
Hi
Anyone who can help me out how to install pecl Oauth? The link provides php_oauth.h and oauth.c and some examples.what to do with that? How to start?
Yur site is excvellent buddy..i like it..keep up the good work ….i recommend it to all .. 78532@gmail.com
Great site! I’m good sites fan keep up the good work! 48829@gmail.com
Hello!
female viagra ,
Hello!
viagra , viagra online , viagra , generic viagra , viagra ,
Hello!
cialis , cialis , cialis , cheap cialis , buy cialis ,
Hello!
cheap cialis , cialis , cialis , cialis , cialis ,
Hello!
buy cialis , viagra , cialis , cheap viagra , viagra ,
Hello!
cheapest cialis , viagra alternative , viagra , viagra , buy viagra online ,
Hello!
viagra , generic viagra , buy cialis , buy viagra , viagra ,
Hello!
cialis , viagra , cheap cialis , cialis , cialis ,
Hello!
buy cialis , viagra , buy viagra , buy cialis , cialis ,
I get the same error as the first commenter; cannot seem to fix it;
http://stackoverflow.com/questions/2794629/linkedin-with-pecl-oauth-got-a-400-expected-http-1-1-20x-or-a-redirect