Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php session_start();
- require "lib/Yahoo.inc";
- define("OAUTH_CONSUMER_KEY", "");
- define("OAUTH_CONSUMER_SECRET", "");
- define("OAUTH_APP_ID", "");
- $userdata_session = YahooSession::requireSession(OAUTH_CONSUMER_KEY, OAUTH_CONSUMER_SECRET, OAUTH_APP_ID);
- $userdata = $userdata_session -> getSessionedUser();
- $profile = $userdata -> getProfile();
- $nickname = $profile -> nickname;
- $guid = $profile -> guid;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement