Guest User

Untitled

a guest
Jan 18th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. import sys
  2. from fbchat import Client
  3. from fbchat.models import *
  4. fb_username= "Your Facebook usersname" # Your Facebook usersname
  5. fb_password= "Your Facebook password" # Your Facebook password
  6. client = Client(fb_username,fb_password)
  7. users = client.fetchAllUsers()
  8. # retrieve all friends uid, save in listuser
  9. listuser=[user.uid for user in users if user.uid!="0"]
  10. #client.logout() # logout
Add Comment
Please, Sign In to add comment