whatsapp

How to send message on WhatsApp Group using official API

让人想犯罪 __ 提交于 2019-11-30 10:19:57
I know about send message to any number using WhatsApp official API using https://api.whatsapp.com/send?phone= But is there any way to send message to WhatsApp Group is user is joined that group. I have a form and want this form data to be shared in our whatsapp group on click. The WhatsApp Business API Client supports a subset of the features provided by the WhatsApp applications you already know from Android, iOS, Web and other platforms including end-to-end encryption. The difference is that this application can be deployed on a server, providing a local API that allows you to

sharing image with whatsapp in android

时光总嘲笑我的痴心妄想 提交于 2019-11-30 07:37:29
问题 I have image in assets folder and need to share it with whatsapp application I tried this code , it keeps give me sharing failed try again ! what's wrong ?! Intent share = new Intent(Intent.ACTION_SEND); share.setType("image/*"); share.setPackage("com.whatsapp"); // share.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File("file:///assets/epic/adv.png"))); share.putExtra(Intent.EXTRA_STREAM, Uri.parse("file:///assets/epic/adv.png")); this.startActivity(Intent.createChooser(share, "share_via")

Create a web service that can answer to WhatsApp messages

ε祈祈猫儿з 提交于 2019-11-30 06:57:31
I'm trying to understand if it's possible to create a web service that can send and answer to WhatsApp messages. I searched on the web and I found the WhatsAPI , I guess this solution work fine, but with the actual version of WhatsApp it's not possible to get the nickname, the sender, the imei and the password. To get them I set up a Linux PC in which I installed mitmproxy to sniff the web traffic of a Samsung Galaxy S4. By using mitmproxy I can see the web traffic generated by the phone, so I tried to register to WhatsApp (with an another SIM), but in mitmproxy I can't see the data I need for

send message by viber or whatsapp programmatically [closed]

こ雲淡風輕ζ 提交于 2019-11-30 04:48:17
I have a system with some members. my members should receive one message each day. I want to send this message via Viber or whatsapp (or if there are others app like them). But I dont want to send messages one by one. I want to send by asp.net c# code. Is there any document or API for this aim? For Whatsup .NET API: https://github.com/perezdidac/WhatsAPINet For Viber .NET API: Couldn't found one for .NET or any other platform. 来源: https://stackoverflow.com/questions/20946461/send-message-by-viber-or-whatsapp-programmatically

How can whatsapp know country code upon first run on iphone

我与影子孤独终老i 提交于 2019-11-30 03:39:42
When I first install whatsapp on iphone, when I open it, the first screen already knows my sim cards location and shows the country code. How does whatsapp know this ? As apple rejects all the apps that use sim card info programmatically. in your .h file you need to: #import <CoreTelephony/CTCarrier.h> #import <CoreTelephony/CTTelephonyNetworkInfo.h> And this function will get the country code: -(NSString*)getCountryDialingCode { NSDictionary *dialingCodes = [[NSDictionary alloc]initWithObjectsAndKeys: @"972", @"IL", @"93", @"AF", @"355", @"AL", @"213", @"DZ", @"1", @"AS", @"376", @"AD", @"244

Sharing image to Whatsapp & Facebook

末鹿安然 提交于 2019-11-30 02:07:38
I'm already able to share photos to Whatsapp but the way I do this is by providing Whatsapp option in a UIActivityViewController and then showing a UIDocumentInteractionController . From this UIDocumentInteractionController , I choose the Whatsapp option which redirects the user to Whatsapp and enables him to share the photo. So far my code is like this: if ([activityType isEqualToString:@"whatsappSharing"]) { if ([[UIApplication sharedApplication] canOpenURL: [NSURL URLWithString:@"whatsapp://app"]]) { NSString *savePath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents

Start WhatsApp from URL HREF with custom text/content

白昼怎懂夜的黑 提交于 2019-11-30 01:53:33
As you know using the whatsapp url scheme on iphone i can create the following link: href="whatsapp://send?text=blahblah" this is possible due to the url scheme support on ios. im try to create the similar effect for android devices. (but no threw android app, just a normal html page). to my understanding it should be something like: href="intent://send/#Intent;scheme=whatsapp;package=com.whatsapp;s.text=test;end;" or: href="intent://send/#Intent;scheme=whatsapp;package=com.whatsapp;text=test; action=android.content.Intent.ACTION_SEND; end" or: href="intent://send/#Intent;scheme=whatsapp

How to make whatsapp type of animation for opening the menu from toolbar(actionbar)

£可爱£侵袭症+ 提交于 2019-11-30 01:27:05
Description: I recently updated whatsapp and noticed the animation for menu item clicked on toolbar. How to achieve this effect? Are there any opensource projects to achieve this? I have not posted any code because. I have no clue how they are doing it. Snapshot-1 : Before clicking the attachment button in menu Snapshot-2 : After clicking the attachment button in menu How to Achieve this? Seems like they "ported" lollipop animation in pre-L devices. The simplest way to do this is using libraries like Igvalle's Material-Animation (see #4). Its minSdk is 16, but I hope you can decrease it for 14

ABID in Whatsapp URL schemes

北城余情 提交于 2019-11-29 22:17:44
问题 Yesterday Whatsapp updated their iOS application and released official URL scheme (api hooks). I wanted to play a little with it and I'm now facing the problem that I don't understand this whole "abid" thing?! Where do I get the contact ID from? And how do I have to use it then? Thanks in advance :) 回答1: ABID stands for the Address book Record ID,the code below works to get the AB Record ID. It is sensitive to the use of delimeters in the URL itself. So the initial trials were not working. To

iOS share image AND text to WhatsApp

核能气质少年 提交于 2019-11-29 20:37:45
I have googled, and get some solutions, it seems the only possible way is thru UIDocumentInteractionController . I have found the result that able to share text ONLY, also found result that share image ONLY. But what I want is share BOTH . I know this question may be duplicated, I just wanted to make it clear, here is the screenshot... (This is shared from Android) Gauraw You can use UIActivityViewController to share image , text or URL .Here is a small example : NSString *textToShare = @"Enter your text to be shared"; UIImage * image = [UIImage imageNamed:@"imagename"]; NSArray