Last active
December 21, 2015 15:41
-
-
Save masayuki610930/be0c01cc9d15e595ad92 to your computer and use it in GitHub Desktop.
Yahoo! Messengerのログイン状況をチェックする
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$user_id = "testid"; | |
$status = file_get_contents("http://opi.yahoo.com/online?u=" . $user_id . "&m=a&t=1"); | |
if($status == "01"){ | |
echo "is online"; | |
}else{ | |
echo "is offline"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yahoo! Messengerのログイン状況を得るAPI的なものの使い方
http://masayuki610930.hatenablog.com/entry/2015/12/22/003917