skip to Main Content

Facebook Messengerbot python ( The Callback URL or Verify Token couldn't be validated. Please verify the provided information or try again later.)

Am trying to implement facebook messenger chatbot in python. Am created One API in python below @api_view(['GET']) def verify(request): form_data = request.query_params mode = form_data.get('hub.mode') token = form_data.get('hub.verify_token') challenge = form_data.get('hub.challenge') if mode and token: if mode == 'subscribe' and…

VIEW QUESTION

ModuleNotFoundError: No module named '<Directory name>'

When I call python __main__.py I receive error: from facebook.fb_api import FacebookApi ModuleNotFoundError: No module named 'facebook' # __main__.py from facebook.fb_api import FacebookApi if __name__ == "__main__": api = FacebookApi() api.start() Project structure facebook/ ├── cache.py ├── configs.py ├── fb_api.py…

VIEW QUESTION
Back To Top
Search