• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 428
  • Last Modified:

Update MSN Live Messenger Status from PHP

I would like to update my MSN/Live Messenger Status message from a PHP Script, what would be the best way to do this?
0
TotallyMe
Asked:
TotallyMe
1 Solution
 
SysTurnCommented:
Hi,

You can automate MSN messenger command using classes like MZK http://www.phpclasses.org/mzk

Note that MSN does not allow logging in to the same account more than once at the same time, so if you used PHP to login to your account and change status, any other active connection to MSN service will be dropped.

Hope it helps,

Kind Regards
<?php
    include("mzk.php");
    $t = new MezzengerKlient;
    $t->debug=true;
    $t->onLogin="change_nick";
    $t->init("mail@mail.com","password");
    $t->login();
    $t->main();
    $t->quit();
 
    function change_nick(){
        global $t;
        $t->setNick('I am a bot');
    }
?>

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now