davidyen1124 / facebot Goto Github PK
View Code? Open in Web Editor NEWPowerful unofficial facebook api
License: MIT License
Powerful unofficial facebook api
License: MIT License
When I do
send = client.send_person("personId", message)
I found None inside my send variable - How I can check if message was successful sent? Thanks
I got Facebot working with fork of spartak1547 and was able to login successful.
I was also able to send a message (clearly there was not error during sending the message), but the message never arrives at receivers account. I tried with myself as receiver and also with another account.
Just wanted to inform you that when I tried to use the send_person method, I got the following error, and my message would not send:
File ".\Facebot\facebot\message.py", line 127, in send_person
"message_batch[0][timestamp_relative]": datetime.now().strftime("%I:%M%P"),
ValueError: Invalid format string
However, I saw in this stackoverflow thread that %H
is best on Windows OS for where %I
is. Also, the 'P' in %P
must be lowercase. Therefore, I changed this line of code in message.py to the following, and now it runs fine:
"message_batch[0][timestamp_relative]": datetime.now().strftime("%H:%M%p"),
Just a caution to Windows users.
I am getting
facebot.LoginError: User id is 0
Every time i try to Initiate a facebook instance.
I can't send messages to anyone since 5 days (before it was sending messages normally). However messages reception is working well.
Is it happening with anyone else?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.