Solved

Update MSN Live Messenger Status from PHP

Posted on 2009-04-05
1
405 Views
Last Modified: 2012-05-06
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
Comment
Question by:TotallyMe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
SysTurn earned 500 total points
ID: 24087270
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

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question