whatsapp-business-java-api
whatsapp-business-java-api copied to clipboard
Whatsapp business api SDK, written in java. This SDK implements the Official Whatsapp Cloud API and WhatsApp Business Management API. These allows you to: manage your WhatsApp Business Account assets...
According to PMD, the project has a total of 47 code smells related to code duplication.
Encountered an error while parsing the response from WhatsApp Business Phone Numbers API after the September 12, 2023 update. The issue seems to be related to a missing property, platform_type,...
https://github.com/Bindambc/whatsapp-business-java-api/pull/139
Please correct me : ` WhatsappBusinessCloudApi whatsappBusinessCloudApi = factory.newBusinessCloudApi(); var message = MessageBuilder.builder()// .setTo(PHONE_NUMBER_1)// .buildTemplateMessage(// new TemplateMessage()// .setLanguage(new Language(LanguageType.EN))// .setName("schedule_confirmation3")// .addComponent(new BodyComponent()// .addParameter(new TextParameter("Mauricio"))// .addParameter(new TextParameter("04/11/2022"))// .addParameter(new TextParameter("14:30")))// .addComponent(new ButtonComponent()//...
I am getting this error when running testing unit below `WhatsappApiFactory factory = WhatsappApiFactory.newInstance(TestConstants.TOKEN); WhatsappBusinessCloudApi whatsappBusinessCloudApi = factory.newBusinessCloudApi(); Message message = MessageBuilder.builder()// .setTo(PHONE_NUMBER_1)// .buildTextMessage(new TextMessage()// .setBody(Formatter.bold("Hello world!") + "\nSome code...
Please tell me how to use Webhook, the example class is not helpful for how it should work. Thanks in advance, any help would be greatly appreciated 🙏
Add implementation for the features described in the [API changelog (March 14, 2023)](https://developers.facebook.com/docs/whatsapp/business-platform/changelog#march-14--2023): > Applies to all Cloud API versions. You can now share location information with users by adding...
Is the new 'COPY_CODE' button type working? (edited: it seems not work)
Sorry for the late reply @Bindambc, > I can modify the class `WhatsappApiException` by adding a method called `getWhatsappApiError()` that will allow obtaining the error object. Within the error object,...
Hello want to know how to add Example Image in Template Creation. i found below example but I don't understand which data need to pass in **addHeaderHandleExamples** argument . https://github.com/Bindambc/whatsapp-business-java-api/blob/95580cfebc9de0610d7f7c9730192bc4f228fcf1/src/test/java/com/whatsapp/api/examples/CreateMessageTemplate6Example.java#L35C1-L35C1