TwitterBridge messing about, Twitter OAuth requires Authorization header now?
https://dev.twitter.com/oauth/reference/post/oauth/request_token says that the request should be a GET with a specific HTTP header instead of query string parameters for OAuth?
This commit is contained in:
@@ -918,12 +918,9 @@ class Facebookclient
|
||||
static function addFacebookUser($fbuser)
|
||||
{
|
||||
// remove any existing, possibly outdated, record
|
||||
$luser = Foreign_user::getForeignUser($fbuser->id, FACEBOOK_SERVICE);
|
||||
|
||||
if (!empty($luser)) {
|
||||
|
||||
$result = $luser->delete();
|
||||
|
||||
try {
|
||||
$fuser = Foreign_user::getForeignUser($fbuser->id, FACEBOOK_SERVICE);
|
||||
$result = $fuser->delete();
|
||||
if ($result != false) {
|
||||
common_log(
|
||||
LOG_INFO,
|
||||
@@ -935,6 +932,8 @@ class Facebookclient
|
||||
__FILE__
|
||||
);
|
||||
}
|
||||
} catch (NoResultException $e) {
|
||||
// no old foreign users exist for this id
|
||||
}
|
||||
|
||||
$fuser = new Foreign_user();
|
||||
|
Reference in New Issue
Block a user