rehabstudio / fbmessenger

A python library to communicate with the Facebook Messenger API's
Other
115 stars 50 forks source link

Use sender_id instead of entry (full message) #52

Closed wittfabian closed 5 years ago

wittfabian commented 5 years ago

We should use the sender_id instead of the full message. It's easier if someone uses the library not only to respond to messages.

Example: https://github.com/rehabstudio/fbmessenger/blob/master/fbmessenger/__init__.py#L45

def get_user_data(self, entry, fields=None, timeout=None):
wittfabian commented 5 years ago

Needs discussion. @rickydunlop

rickydunlop commented 5 years ago

Yeah i'm happy to go with this, it would need a major version bump as it's a breaking change

wittfabian commented 5 years ago

Ok. We should provide the current version as 5.6.1