dhruvramani / Terminal-on-FB-Messenger

Allows user to take full control of the terminal of their computer through Facebook's messaging service.
http://dhruvramani.github.io/Terminal-on-FB-Messenger/
407 stars 58 forks source link

Added faster method for username retrieval. #13

Closed manu-chroma closed 7 years ago

manu-chroma commented 8 years ago

Please refer to https://github.com/dhruvramani/Terminal-on-FB-Messenger/issues/1 I've added https://gist.github.com/manu-chroma/8c5b39bef7335fa23a6f as a function and leave it upto the owner to integrate it accordingly. Fully compatible with python3 this time. P.S: After obtaining the username, you can directly request https://facebook.com/messages/<profile> which will redirect to https://facebook.com/login.php and then redirect to the initial link after login.