fbchat-dev / fbchat-dev/fbchat

FBchatException solution

Open
#653 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
403
PR merge metrics
No merged PRs in 30d

Description

I use fbchat to send a message, it works fine but when it doesn't find the person we get a FBchatException. I do not know how to make it possible for him to omit such a person.

```py
for i in range(liczba_pozycji):
klienci = client.searchForUsers(tab_imie_naziwsko[i])
klient = klienci[0]
client.send(Message(text=tab_produkt[i]),
thread_id=format(klient.uid), thread_type=ThreadType.USER)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.