Skip to content

auto message send in Facebook using python fbchat module

Notifications You must be signed in to change notification settings

Udoy2/auto-chat-facebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-chat-facebook

auto message send in facebook using python fbchat module

when using this script there will be a error like list index out of range

solution:

Change

revision = int(r.text.split('"client_revision":', 1)[1].split(",", 1)[0])

to

revision = 1

There is three kind of script:

  1. deafult
  2. session
  3. session generator

deafult works by just username and password , and it works fine , but when you will try to use it in a remote server it will throw many errors. beacuse of facebook tracks the login location thats why login from unknown location will be blocked.

To bypass this issue we have session handeling

to use it you will have to run the session generator on your computer and it will output a session.json file then you will have to put the session.json file in your remote server , after that it will run perfectly . Beacuse you are providing the session of your local computer facebook will think the remote server as your local computer and it will allow to access facebook.

About

auto message send in Facebook using python fbchat module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages