whatsapp

whatsapp share is not working (same code is working in another project)

房东的猫 提交于 2019-12-11 14:03:26
问题 Below is what I am using to share text on WhatsApp NSString *globalString; NSString *myURl = [NSString stringWithFormat:@"http://www.mywebq8.com/mobile/newsdetails.aspx?id=%@", [global getstrProDetails]]; globalString =[NSString stringWithFormat: @"%@ للمزيد \n\n%@",[global getstrPagetitle], myURl]; NSLog(@"globalString===%@", globalString); NSString * msg = globalString; NSString * urlWhats = [NSString stringWithFormat:@"whatsapp://send?text=%@", msg ]; NSURL * whatsappURL = [NSURL

Whats App Api in .net Cant send Images

半腔热情 提交于 2019-12-11 12:32:59
问题 I am not getting how to send image to any number using WhatsApiNet I tried writing like D:/img.jpg in COnsole window but its sending the path as a text This Error I am getting while using this code case "/image": byte[] imgData = File.ReadAllBytes(@"d:\My Creations\DSC_0423 copy.jpg"); wa.SendMessageImage(tmpUser.GetFullJid(), imgData, ApiBase.ImageType.JPEG); break;! 来源: https://stackoverflow.com/questions/25541573/whats-app-api-in-net-cant-send-images

How to share an image with WhatsApp Android?

被刻印的时光 ゝ 提交于 2019-12-11 11:56:24
问题 I'm trying this code to send images to WhatsApp, but when it opens the WhatsApp screen and when I select the contact, I don't see any image. Can someone help me? Bitmap adv = BitmapFactory.decodeResource(getResources(), R.drawable.image3); Intent share = new Intent(Intent.ACTION_SEND); share.setType("image/jpg"); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); adv.compress(Bitmap.CompressFormat.JPEG, 100, bytes); File f = new File(Environment.getExternalStorageDirectory() + File

Whatsapp service restarts after force stop when push notification received

让人想犯罪 __ 提交于 2019-12-11 09:58:13
问题 We are trying to understand the behavior of whatsapp service in Samsung S5 and above models. In these models whatsapp application is embedded to the ROM of the device, which you cannot uninstall it. Even I force stop the application, whatsapp service becomes running and displays the message when a push notification received. I have tried it in Nexus 5 device on which whatsapp is not on ROM. In this case after force stop, whatsapp cannot receive push notification and service is still not

Open WhatsApp conversation using Abid doesn't work

二次信任 提交于 2019-12-11 09:26:34
问题 I'm trying to open whatsapp conversation/chat for particular contact. Instead of opening the desired chat it only opens the app. No idea whats wrong : let URLString = "whatsapp://send?abid=\(ID);text=lOL;" UIApplication.sharedApplication().openURL(NSURL(string: URLString)!) URLString value : whatsapp://send?abid=414;text=lOL Any suggestions? 回答1: Update your URL like this: whatsapp://send?abid=\(ID)&text=lOL Source from HERE. 回答2: Try this and check if the UIApplication and open the URL. let

Send message on whatsapp on whatsapp web using html or javascript

橙三吉。 提交于 2019-12-11 06:47:36
问题 I want to send message through whatsapp web. I am using following code but its not working.. https://wa.me/?text=urlencodedtext I am unable to see contact list to send this encoded message.. I took reference from https://faq.whatsapp.com/en/general/26000030 回答1: Received From WhatsApp Support: We are aware of the issue and we are working on fixing it in a future update of WhatsApp. Unfortunately, we can't comment on any future release dates at this time See: stackoverflow EDIT: Started

How can I place a WhatsApp call from an iOS app?

 ̄綄美尐妖づ 提交于 2019-12-11 06:18:02
问题 I would like to be able to place a call using a WhatsApp number from my iOS app. How can I do that? 回答1: You should ask WhatsApp how to do so. The solution lies in URL Schema: https://www.whatsapp.com/faq/de/iphone/23559013 Here the code copied from their site, in Objective-C. I'll keep it as an exercise to do so in Swift: NSURL *whatsappURL = [NSURL URLWithString:@"whatsapp://send?text=Hello%2C%20World!"]; if ([[UIApplication sharedApplication] canOpenURL: whatsappURL]) { [[UIApplication

How can I get a message from a specific contact?

扶醉桌前 提交于 2019-12-11 04:25:43
问题 I'd like to retrieve a message from a contact on Whats App (with user's permission, of course, I thought something like oAuth) but as far I found, what apps doesn't have an API. So I tried load the web version in a WebBrowser and get the messag from there but I can't make it work. It start loading the page to request the Qr code to be scanned but it redirects to a page saying the current browser isn't supported. So I tried to use emulation mode on IE, setting it to IE11 and changing http user

Make og:video play inline whatsapp and facebook

半城伤御伤魂 提交于 2019-12-11 00:48:30
问题 Is it possible to add OG:video data to the head of a website so that whatsapp and facebook can play the video inline? I have currently only seen this working with youtube and instagram links. Whenever I copy the whole meta data from a working instagram post and paste it into my document the facebook debugger picks up on all the data. However whatsapp only shows the thumbnail and not the inline video. Is this feature only for whitelisted domains like youtube or is this something anyone can do?