Yahoo messenger status

ice-Burn's Avatar

ice-Burn

08 Jan, 2010 09:00 AM via web

Hello
I have a bot, and I would like to appear and a status in yahoo messenger. One might have? We looked but have not found anything yet. Maybe I can help you. Thank you. Have a nice day

  1. Support Staff 2 Posted by Adam Kalsey on 08 Jan, 2010 03:04 PM

    Adam Kalsey's Avatar

    I'm not sure I understand correctly. Do you want to set the status
    message for your Yahoo bot? That can be done through our UpdateStatus
    API call. http://www.imified.com/developers/api#status

  2. 3 Posted by Robe on 10 Jan, 2010 01:09 AM

    Robe's Avatar

    Sorry, but i don't understand all code in it. So, can you explain it ? Thank you so much.

  3. Support Staff 4 Posted by Adam Kalsey on 12 Jan, 2010 07:21 PM

    Adam Kalsey's Avatar

    What programming language do you normally work with? Perhaps I can
    provide an example in your language.

    Basically, you need to send us a form post containing the fields
    described in http://www.imified.com/developers/api#status

  4. 5 Posted by Robe on 13 Jan, 2010 02:10 AM

    Robe's Avatar

    Thank you for your reply.
    I am working with Vietnamese, but you can provide me an example with English language.
    Please help me .... thank you so much

  5. Support Staff 6 Posted by Adam Kalsey on 13 Jan, 2010 02:26 AM

    Adam Kalsey's Avatar

    Not which spoken language, but which programming language. PHP, Java,
    C#, Ruby, Python ... ?

  6. 7 Posted by Robe on 13 Jan, 2010 02:43 AM

    Robe's Avatar

    Oh, i am sorry. PHP. Please help me :)

  7. Support Staff 8 Posted by Adam Kalsey on 13 Jan, 2010 03:19 AM

    Adam Kalsey's Avatar

    The example code on the API documentation page is in PHP. Have you
    tried to run it? Are you having problems with that?

  8. 9 Posted by Robe on 13 Jan, 2010 10:50 AM

    Robe's Avatar

    I tried to run it, but it told me there is a error in line 9.....

  9. 10 Posted by Robe on 13 Jan, 2010 10:58 AM

    Robe's Avatar

    Fatal error: Call to undefined function curl_init() in /www/99k.org/r/o/b/robe/htdocs/robep.php on line 8

    This error ....

  10. 11 Posted by Robe on 14 Jan, 2010 03:32 AM

    Robe's Avatar

    I changed another host, and i reup that php code. But.....

    ERROR SSL certificate problem, verify that the CA cert is OK. Details:error:14090086SL routinesSL3_GET_SERVER_CERTIFICATE:certificate verify failed

    And, i don't know where status message will be creat.
    Please help me.

  11. Support Staff 12 Posted by Adam Kalsey on 14 Jan, 2010 03:43 AM

    Adam Kalsey's Avatar

    That host doesn't have curl configured properly. Part of the curl
    installation process is to install a list of certificate authorities.
    If you ask your host about this error message they will be able to
    resolve it.

    To set the status send a form field called "msg" with the contents of
    your desired status message. The sample code in the API has an error
    in it where this field is left out. That will be corrected next time
    we deploy the site. In the meantime, you can add a field called "msg"
    to your `$data` array. For example...

        $data = array(
            'botkey' => 'your_bot_key',
            'apimethod' => 'updateStatus',
            'msg' => 'I am here and ready to help.',
            'network' => 'AIM',
        );

Comments are currently closed for this discussion. You can start a new one.