ThongTran-Dev / simple-linkedinphp

Automatically exported from code.google.com/p/simple-linkedinphp
0 stars 0 forks source link

Arguments passed to updates() causes auth error #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create query arguments, e.g. "?type=SHAR&scope=self"
2. Call updates with those args: $linkedin->updates($query);
3. Receive a '401 Unauthorized' response from linkedin

What version of the product are you using? On what operating system?
@version   3.0.1 - 05/01/2011
php 5.3.3, on os x 10.6.6

Please provide any additional information below.
I think this may be a problem with the oauth signature not taking the query 
string arguments into account properly when generating the signature.

Original issue reported on code.google.com by cov...@gmail.com on 17 Mar 2011 at 6:08

GoogleCodeExporter commented 9 years ago
I will look into this, I plan on having a new iterative version of the library 
out in the next few days, will try to nail down this issue.

Original comment by pmmenneg@gmail.com on 22 Apr 2011 at 4:31

GoogleCodeExporter commented 9 years ago
I've tested this on numerous platforms and can't duplicate the problem. In 
fact, the demo script included with the library makes a very similar request 
correctly ("?type=SHAR&count=10"); you can see it in action here:

http://simplelinkedin.fiftymission.net/

Simply authorize the application and you will see updates from your network 
without the 401 error.

Original comment by pmmenneg@gmail.com on 29 Apr 2011 at 10:24

GoogleCodeExporter commented 9 years ago

Original comment by p...@fiftymission.net on 11 Nov 2011 at 5:12