dariusmare Posted June 7, 2014 Report Share Posted June 7, 2014 Lucrez la un script pentru a prelua statusul unui id de ym. Din cate stiam eu, asta trebuia sa meargahttp://opi.yahoo.com/online?u={ID}&m=a&t=1 dar se pare ca nu mai merge. Imi arata ca sunt offline chiar daca eu sunt conectat la ym.Multumesc Quote Link to comment Share on other sites More sharing options...
Castiel Posted June 7, 2014 Report Share Posted June 7, 2014 (edited) http://opi.yahoo.com/online?u=ID &m=a&t=2 Pentru online si offline , pt sts nu stiu.. // Si avatar http://www.jdetector.com/tools/check.php?info=0&id=idmess Edited June 7, 2014 by Castiel Quote Link to comment Share on other sites More sharing options...
dariusmare Posted June 7, 2014 Author Report Share Posted June 7, 2014 (edited) nu vreau sa folosesc ceva extern (jdetector). Vreau direct din yahoo api or shit. Cu http://opi.yahoo.com/online?u=dariuscostolas&m=a&t=2 imi returneaza "IS NOT ONLINE" si eu sunt online pe ym. Edited June 7, 2014 by dariusmare Quote Link to comment Share on other sites More sharing options...
askwrite Posted June 7, 2014 Report Share Posted June 7, 2014 Facusem eu ceva de genu in php cu apiul de la yahoo si il postasem pe rst, doar ca mi-au dezactivat threadurile & posturile cand am avut ban.. Quote Link to comment Share on other sites More sharing options...
dariusmare Posted June 7, 2014 Author Report Share Posted June 7, 2014 @askwrite poti te rog sa imi arati ce ai facut in caz ca mai ai? Quote Link to comment Share on other sites More sharing options...
Maximus Posted June 7, 2014 Report Share Posted June 7, 2014 Daca esti pe invizibil, yahoo nu va da niciodata statusul (online,offline,invizibil) , iti trebuie un pachet ymsgr pentru a detecta statusul ! incearca pe viprasys, poate gasesti acolo ceva. Quote Link to comment Share on other sites More sharing options...
Ganav Posted June 7, 2014 Report Share Posted June 7, 2014 <?phpfunction yahoo($id){ $url = 'http://opi.yahoo.com/online?u='; $data = file_get_contents($url . $id); if (trim(strtolower(strip_tags($data))) != 'user not specified.') { return (strlen($data) == 140) ? 'online' : 'offline'; } else { return trim(strip_tags($data)); } }echo yahoo("yahoo_userid");?> Quote Link to comment Share on other sites More sharing options...