whatsapp

Mechanism behind QR code scanning of whatsapp webapp

浪子不回头ぞ 提交于 2019-11-29 20:37:15
I could not find any answers related to the working mechanism of qr code scanning used on whatsapp web-app . How does the authentication happen when the phone (any smartphone running whatsapp) scans the qr code on the browser. I don't want about the technology stack behind them.Like whatsapp uses modified version of xmpp , uses erlang , uses web technologies like socket.io and ajax for the web version to implement such functionality. The question might be broad.But I am eager to know about the implementation behind it. It works like this : 1- You open the following URL on your browser : https:

iOS9: canOpenURL returning false for WhatApp's url scheme

南楼画角 提交于 2019-11-29 17:53:23
问题 In my current project I need to share text on whatsapp from iOS app. Here is my code to share text on whatsapp:- NSURL *whatsappURL = [NSURL URLWithString:@"whatsapp://send?text=Hello%2C%20World!"]; if ([[UIApplication sharedApplication] canOpenURL: whatsappURL]) { [[UIApplication sharedApplication] openURL: whatsappURL]; } but canOpenURL always returning false in iOS9. Is there any iOS9 privacy policy ? Can anyone help me out. Thanks in advance. 回答1: In iOS 9 you must whitelist any URL

Sharing link for WhatsApp Web version?

拟墨画扇 提交于 2019-11-29 12:35:56
问题 I placed a button on my website with a link for people to share articles on Whatsapp. The code is this and works fine: <a href="whatsapp://send?text=Hello%20World!">Hello, world!</a> But this doesn't work on the desktop version. Does anybody know the url to share text/link on the Whatsapp Web? This here: https://web.whatsapp.com 回答1: Try this link for the web version Note: This link only works for the Whatsapp version on the web! <a href="https://web.whatsapp.com/send?text=textToshare" target

Share link using whatsapp

人盡茶涼 提交于 2019-11-29 11:25:22
问题 I used these code for share app link in what's app but nothing is come in the textfield of whatsapp. If using simple text then its work. Can anyone suggest the final outcome. NSString *theTempMessage = @"whatsapp://send?text=https://itunes.apple.com/in/app/myapp/id1054375332?ls=1&mt=8"; NSString *theFinalMessage; theTempMessage = [theTempMessage stringByReplacingOccurrencesOfString:@":" withString:@"%3A"]; theTempMessage = [theTempMessage stringByReplacingOccurrencesOfString:@"/" withString:@

How to make my Android app appear in the app chooser when emailing a WhatsApp chat?

喜欢而已 提交于 2019-11-29 10:38:27
I am interested in making my app appear in the apps list shown when I use the "email conversation" feature in WhatsApp. When logging my phone while using the "email conversation" WhatsApp feature I can see a SEND_MULTIPLE intent being received by Gmail: I/ActivityManager( 859): START u0 {act=android.intent.action.SEND_MULTIPLE typ=text/* flg=0xb080001 pkg=com.google.android.gm cmp=com.google.android.gm/.ComposeActivityGmail (has clip) (has extras)} from uid 10114 on display 0 So I suppose I need to add an intent filter for the SEND_MULTIPLE action in my app manifest. Currently my

How to create a whatsapp like recording button with slide to cancel

依然范特西╮ 提交于 2019-11-29 09:24:42
As in whatsapp I need a recoding button and a slide to cancel and fade animation , I have searched for similar code but didn't got one. I am new to android programming any help or link could be helpful. I have created a github project.You can take a look at it https://github.com/sarathnk/Audio audioSendButton.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View view, MotionEvent motionEvent) { if (motionEvent.getAction() == MotionEvent.ACTION_DOWN) { FrameLayout.LayoutParams params = (FrameLayout.LayoutParams) slideText .getLayoutParams(); params.leftMargin =

sharing image with whatsapp in android

流过昼夜 提交于 2019-11-29 04:58:34
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")); You have several problems. First, file:///assets/ is not a valid Uri on any version of Android. Your

Open whatsapp on iOS with new phone number pre-filled

那年仲夏 提交于 2019-11-29 02:28:21
I know there is scheme to communicate with whatsapp like: NSURL *whatsappURL = [NSURL URLWithString:@"whatsapp://send?text=Hello%2C%20World!"]; if ([[UIApplication sharedApplication] canOpenURL: whatsappURL]) { [[UIApplication sharedApplication] openURL: whatsappURL]; } But i can't find how to open whatsapp with a phone number that don't exist before. It's for a "contatc us" page and if i can only open whatsapp and can't pre fill a phone number, it's useless. I need to be contacted with whatsapp... Does what I am trying to do exist ? For phone number pre-filled And Text NSURL *whatsappURL =

send message by viber or whatsapp programmatically [closed]

不问归期 提交于 2019-11-29 02:11:53
问题 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? 回答1: 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

Share link using whatsapp

旧时模样 提交于 2019-11-29 01:24:34
I used these code for share app link in what's app but nothing is come in the textfield of whatsapp. If using simple text then its work. Can anyone suggest the final outcome. NSString *theTempMessage = @"whatsapp://send?text=https://itunes.apple.com/in/app/myapp/id1054375332?ls=1&mt=8"; NSString *theFinalMessage; theTempMessage = [theTempMessage stringByReplacingOccurrencesOfString:@":" withString:@"%3A"]; theTempMessage = [theTempMessage stringByReplacingOccurrencesOfString:@"/" withString:@"%2F"]; theTempMessage = [theTempMessage stringByReplacingOccurrencesOfString:@"?" withString:@"%3F"];