Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Update MSN Live Messenger Status from PHP

Posted on 2009-04-05
1
Medium Priority
?
419 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 2000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
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 count occurrences of each item in an array.
Suggested Courses

596 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