Skip to content
Permalink
Browse files
Update facebook.py
  • Loading branch information
plurab committed Nov 29, 2018
1 parent f8dadc3 commit a16835796d2c95ce6378e9ce6f6c5bd0566b8f97
Showing 1 changed file with 2 additions and 2 deletions.
@@ -9,7 +9,7 @@ def facebook(word):
message=input('message: ')
client=Client(login,password)
frienduid=client.searchForUsers(friend)
uiid=frienduid[0].uid
uiid=frienduid[0].uid #checking friend's facebook ID
client.send(Message(text=message), thread_id=uiid, thread_type=ThreadType.USER)
print ('sent')
print ('sent') #confirmation

0 comments on commit a168357

Please sign in to comment.