Comments (10)
Please? I would love even some preliminary examples.
from fbchat.
@danetrain Most documentation is in the code itself. Please also have a look there.
A short overview of basic functions would be:
import fbchat # (obviously, as you need to import the package)
email=""
password=""
browser="" # This is optional
client = fbchat.Client(email, password, browser)
users = client.getUsers("with this name")
user_id_of_partner = users[0].uid
client.send(user_id_of_partner, "Hi")
client.listen() # Starts a listener (keep in mind, it's blocking/single threaded)
from fbchat.
I've looked over the code. Am I correct in the conclusion that this doesn't yet have the capability to interact with the settings of a chat thread? i.e. boot someone or add someone?
from fbchat.
not yet, no. We (or at least I) currently focus more on the person-to-person chat, and get all the functionalities for that first
from fbchat.
If we want to help out with the documentation what is the preferred method for questions? Emai to [email protected]? Thanks.
from fbchat.
@massey101 I guess a pull request would be ideal.
from fbchat.
@massey101 yes, feel free to give a pull request to this repo 👍
from fbchat.
Please, give me a simple example of a echo bot for educational purposes. I fight with client.listen(). Thx.
from fbchat.
@OndrejVomacka see my PR, added some documentation including example echo bot. #56
from fbchat.
I've added fbchat
to ReadTheDocs, and included examples and documentation there ;)
from fbchat.
Related Issues (20)
- File loading progress
- Can't listen() Error #1357005 HOT 3
- Login not work
- FBchatException solution HOT 1
- Could not find fb_dtsg
- Could not find any ServerJSDefine. Please report this, along with the data below HOT 1
- Note for others unable to login HOT 4
- Failed parsing MQTT data on /t_trace as JSON HOT 3
- Sending AudioAttachments doesn't work HOT 4
- Trouble Logging in Error and info included
- Can't Log in HOT 7
- Search contact by mobile phone number
- Module not found Error!
- Error when sending request: Got 500 response.
- Closed
- Screenshot (Mar 25, 2023 6:10:08 AM)
- how can it get all feeds and comments
- GraphQL error #3252001: Rate limit exceeded / None HOT 3
- Sendlocalfile isn't working
- Is fbchat dead? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fbchat.