static function init() { if (isset($_GET['opensocial_app_id'])) { self::$appId = $_GET['opensocial_app_id']; } if (isset($_GET['opensocial_owner_id'])) { self::$ownerId = $_GET['opensocial_owner_id']; } self::$consumer = new OAuthConsumer(self::$consumerKey, self::$consumerSecret, null); }