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

Workplace by Facebook #402

Open Gareth531 opened 5 years ago

Gareth531 commented 5 years ago

Description

Hi, does anyone know what adjustments will need to be made to this in order to use it for Workspace by Facebook. I am trying to automate the sending of private chat messages to a list of users using Workspace Chat rather than FB Messenger. Would I just need to change the URLs in "class ReqUrl(object):" in "utils.py" file? If so where do I find the correct URLs? Thanks

madsmtm commented 5 years ago

This has been asked before, see https://github.com/carpedm20/fbchat/issues/360 (which I've closed in favor of this).

I can't give you any helpful information though, I don't have access to Facebook workplace myself, so it's kinda hard to figure out 😁. But you might be able to achieve your goal using their official developer API instead?