Skip to content

Instantly share code, notes, and snippets.

@masayuki610930
Last active December 21, 2015 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masayuki610930/be0c01cc9d15e595ad92 to your computer and use it in GitHub Desktop.
Save masayuki610930/be0c01cc9d15e595ad92 to your computer and use it in GitHub Desktop.
Yahoo! Messengerのログイン状況をチェックする
<?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";
}
@masayuki610930
Copy link
Author

Yahoo! Messengerのログイン状況を得るAPI的なものの使い方
http://masayuki610930.hatenablog.com/entry/2015/12/22/003917

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment