SalmanAzmat / php-twitter

Automatically exported from code.google.com/p/php-twitter
0 stars 0 forks source link

isFriend has wrong API call - Fix included. #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
in the function isFriend 
this line:
$qs = '?user_a=' . rawurlencode( $user_a ) . '&' . rawurlencode( $user_b );

Should read like this:
$qs = '?user_a=' . rawurlencode( $user_a ) . '&user_b=' . rawurlencode(
$user_b );

Note the '&' should be '&user_b='

Thanks for this and I am happy to contribute.
Roy S

Original issue reported on code.google.com by royplang...@gmail.com on 3 Jun 2009 at 2:07