function oAuthParseResponse($responseString) {
    $r = array();
    foreach (explode('&', $responseString) as $param) {
      $pair = explode('=', $param, 2);
      if (count($pair) != 2) continue;
      $r[urldecode($pair[0])] = urldecode($pair[1]);
    }
    return $r;
  }
function oAuthParseResponse($responseString) {
    $r = array();
    foreach (explode('&', $responseString) as $param) {
      $pair = explode('=', $param, 2);
      if (count($pair) != 2) continue;
      $r[urldecode($pair[0])] = urldecode($pair[1]);
    }
    return $r;
  }
function oAuthParseResponse ( $ responseString ) { $ r = array ( ) ; foreach ( explode ( '&' , $ responseString ) as $ param ) { $ pair = explode ( '=' , $ param , 2 ) ; if ( count ( $ pair ) != 2 ) continue ; $ r [ urldecode ( $ pair [ 0 ] ) ] = urldecode ( $ pair [ 1 ] ) ; } return $ r ; }
Parse a URL-encoded OAuth response

@return a key/value array
Parse a URL - encoded OAuth response