KRITSADA

FACEBOOK chat

Jun 8th, 2018
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from fbchat import Client
  2. from fbchat.models import*
  3. client = Client('you email', 'you pass')
  4. for x in range(100):
  5.  
  6.  print('Own id: {}'.format(client.uid))
  7.  client.send(Message(text='Hi me!'), thread_id=1000021111111, thread_type=ThreadType.USER)
  8. client.logout()
Add Comment
Please, Sign In to add comment