fbchat-dev / fbchat

Facebook Chat (Messenger) for Python
https://fbchat.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.19k stars 412 forks source link

Not sending messages to Facebook Page Contacts #291

Closed arshaukat closed 6 years ago

arshaukat commented 6 years ago

Facing two issues:

1-I have Facebook account and three Pages associated with it. But after successfuly connecting to the facebook account, when trying to send the message to a user from one of the three Facebook pages, it send the message to default account through which the Facebook pages were created and not to the Pages from where I got the thread ID from(see attached pics). Is there a way I can define the Facebook page so that the conversation appears in the Facebook Page and not the standard page.

2- Is there a way to send message to all users irrespective whether they are online or not. If not, is there a way to skip the error where one user cannot receive it but it continues to send to the remainig users.

fb standard chat not fb pages chat python command - success facebook page

.

madsmtm commented 6 years ago

Hmm, are you trying to send messages to a user, from a page? Or to a page, from a user?

arshaukat commented 6 years ago

Hi,

A Facebook page trying to communicate to all its users sitting in their inbox i.e. who have communicated with us.

Thanks, Abdulrehman Shaukat

On Sun, 20 May 2018 at 20:14, Mads Marquart notifications@github.com wrote:

Hmm, are you trying to send messages to a user, from a page? Or to a page, from a user?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/carpedm20/fbchat/issues/291#issuecomment-390504424, or mute the thread https://github.com/notifications/unsubscribe-auth/AWBAPBvwFwALtKq5VX0aM_o0b_7unpbIks5t0cCRgaJpZM4UGIqr .

-- Abdulrehman Shaukat

Notice and Disclaimer:

This communication is only for the use of the addressee. It may contain information which is confidential and exempt from disclosure. If you are not the intended recipient you must not read, copy, distribute or disseminate this communication or any attachments to anyone other than the addressee or use the information it contains. If you receive this communication in error, please inform me by replying to the email at once. Thank you.

madsmtm commented 6 years ago

So, you're trying to send messages from the page to a bunch of users? If so, then that's not supported (yet?), and you should probably look into other ways of doing this. Facebook has some autonomization options for pages

arshaukat commented 6 years ago

Yes. Facebook page trying to send message to all users who interacted with personal message/inbox.

I am not sure if there are such automation provided by Facebook in GUI format.

Are there other backend modules, codes to interact with large audience of Facebook pages?

Thanks,

On Mon, 21 May 2018 at 17:49, Mads Marquart notifications@github.com wrote:

So, you're trying to send messages from the page to a bunch of users? If so, then that's not supported (yet?), and you should probably look into other ways of doing this. Facebook has some autonomization options for pages

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/carpedm20/fbchat/issues/291#issuecomment-390713143, or mute the thread https://github.com/notifications/unsubscribe-auth/AWBAPPWQnbtHPzzXvcEAG3S-bWRkO4FSks5t0vAKgaJpZM4UGIqr .

-- Abdulrehman Shaukat

Notice and Disclaimer:

This communication is only for the use of the addressee. It may contain information which is confidential and exempt from disclosure. If you are not the intended recipient you must not read, copy, distribute or disseminate this communication or any attachments to anyone other than the addressee or use the information it contains. If you receive this communication in error, please inform me by replying to the email at once. Thank you.

madsmtm commented 6 years ago

I think there's something called the "Response Assistant", but if that doesn't fullfill your needs, you'll probably have to make a seperate account with Messenger Platform, and redirect people to chatting with that bot.

The main issue is that you risk getting blocked by Facebook if you attempt to contact a bunch of users. It's something they would likely flag as spam

arshaukat commented 6 years ago

Thanks.

In your fbchat, is there a way to skip an error if a user is offline so it continues to delivers message to the other available users?

On Mon, 21 May 2018 at 21:35, Mads Marquart notifications@github.com wrote:

I think there's something called the "Response Assistant", but if that doesn't fullfill your needs, you'll probably have to make a seperate account with Messenger Platform https://developers.facebook.com/docs/messenger-platform, and redirect people to chatting with that bot.

The main issue is that you risk getting blocked by Facebook if you attempt to contact a bunch of users. It's something they would likely flag as spam

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/carpedm20/fbchat/issues/291#issuecomment-390774277, or mute the thread https://github.com/notifications/unsubscribe-auth/AWBAPM-jpWAsh1QLDKraLs7cyBq7mPYxks5t0yT8gaJpZM4UGIqr .

-- Abdulrehman Shaukat

Notice and Disclaimer:

This communication is only for the use of the addressee. It may contain information which is confidential and exempt from disclosure. If you are not the intended recipient you must not read, copy, distribute or disseminate this communication or any attachments to anyone other than the addressee or use the information it contains. If you receive this communication in error, please inform me by replying to the email at once. Thank you.