![]() send_message ( 'mobile eg: 2348145xxxxx3', 'Your message here' ) Example Once initialized, you can start using some of the bot's features right away. > from python_whatsapp_bot import Whatsapp > wa_bot = Whatsapp ( number_id = '305xxxxxx', token = TOKEN ) Note that phone number id is not phone number. To initialize the app instance, you need to specify the TOKEN and phone_number_id you obtained from the steps above. This guide shows how to register an authentic phone number. ![]() This tutorial on the platform guides you to create a permanent token. ![]() Now you have all you need to start using this library. If you followed the tutorial, you should now have a TOKEN and TEST WHATSAPP NUMBER and its phone_number_id.activeYou might have even already sent your first message on the platform using the provided curl request. Here is a tutorial on the platform on how to go about the process You get these after setting up a developer account and setting up an app. To get started using this library, you have to obtain a TOKEN and PHONE NUMBER ID from Facebook Developer Portal. To start, install with pip: pip3 install -upgrade python-whatsapp-bot A whatsapp client library for python utilizing the WhatsApp Business Cloud API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |