<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 1, 2015 at 12:44 AM, Martin Klapetek <span dir="ltr"><<a href="mailto:martin.klapetek@gmail.com" target="_blank">martin.klapetek@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Wed, Apr 1, 2015 at 12:26 AM, Aleix Pol <span dir="ltr"><<a href="mailto:aleixpol@kde.org" target="_blank">aleixpol@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><br>
</div></div>There's this PoC by PovAddict:<br>
<a href="http://quickgit.kde.org/?p=scratch%2Fnalvarez%2Ffacebook-chat.git" target="_blank">http://quickgit.kde.org/?p=scratch%2Fnalvarez%2Ffacebook-chat.git</a></blockquote><div><br></div></span><div>Yes, that's a script basically acting as a webbrowser and parsing the DOM</div><div>together with some reverse-engineered ajax calls iirc. Besides the obvious</div><div>the-webpage-can-change-any-minute-and-things-explode (which they</div><div>currently do) it also cannot get your whole friend list; it's only those that you</div><div>see in your sidebar when you open <a href="http://facebook.com" target="_blank">facebook.com</a> iirc.</div><div><br></div><div>Rather than basing it on that^, I think it'd be more rewarding/beneficial to</div><div>go the Messaging API way (through /me/inbox endpoint). In fact, you could</div><div>probably collect the user ids from the recent inbox messages. Though note that</div><div>starting with April, all apps requesting non-standard permissions (which</div><div>read_inbox is) must go through Facebook review, so it might be they will</div><div>just deny that API usage...</div></div></div></div></blockquote><div><br></div><div>Actually scratch that, with the 2.3 version of the API, it's impossible to /send/</div><div>messages, only read (they really really made sure this would be impossible).</div><div><br></div><div><a href="https://developers.facebook.com/docs/graph-api/reference/v2.3/user/inbox">https://developers.facebook.com/docs/graph-api/reference/v2.3/user/inbox</a></div><div><br></div><div>Soo...your only choice, Mikel, would now be to try to extend upon that python</div><div>script parsing the webpage (and fixing it first), but it is quite a long stretch...</div><div><br></div><div>Sorry.</div><div><br></div></div><div>Cheers</div>-- <br><div class="gmail_signature"><div><span style="color:rgb(102,102,102)">Martin Klapetek | KDE Developer</span></div></div>
</div></div>