whatsapp

WhatsApp image sharing iOS [closed]

∥☆過路亽.° 提交于 2019-11-27 03:41:06
I am developing an iOS application in which i have to share image on WhatsApp from my application. I found this code but it deals with only text sharing https://github.com/jberlana/JBWhatsAppActivity Nitin Gohel That can be Possible using documentationInteractionController . Recently I have done this using bellow code to share image From our App to whatsApp, Line, WeChat but while you click on WhatsApp icon, then you are navigation WhatsApp app from you app and you must return you app manually. That does not redirect again after ImageSharing. in .h file:- @interface ViewController :

How to share pdf and text through whatsapp in android?

*爱你&永不变心* 提交于 2019-11-27 03:22:46
问题 I tried with the following code but it is not attaching the pdf file. Intent sendIntent = new Intent(); sendIntent.setAction(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, message); sendIntent.setType("text/plain"); if (isOnlyWhatsApp) { sendIntent.setPackage("com.whatsapp"); } Uri uri = Uri.fromFile(attachment); sendIntent.putExtra(Intent.EXTRA_STREAM, uri); activity.startActivity(sendIntent); 回答1: I had this issue where I was trying to open a pdf file from assets folder and I

How can I open WhatsApp's conversation activity using contact data?

旧时模样 提交于 2019-11-27 02:54:52
问题 I want open what's app conversation activity cmp=com.whatsapp/.Conversation from my app. How can I do this? I have contact phone number, contact id, contact raw id and also have what's app uri for a particular contact. private void openWhatsApp(String id) { Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse("content://com.android.contacts/data/"+id)); Log.v("ssssss", s); i.setType("vnd.android.cursor.item/vnd.com.whatsapp.profile"); i.setComponent(new ComponentName("com.whatsapp", "

Send messages with whatsapi.net?

て烟熏妆下的殇ゞ 提交于 2019-11-27 02:38:22
问题 I want to send messages using whatsapi and this was my try string nickname = "Test"; string sender = "xxxxxxxxxxxxxx"; //My Phone Number tryed with 049xxxxxxxxxxxx, 0049xxxxxxxxxxxxxx, 49xxxxxxxxxxxxxxx, xxxxxxxxxxxxxx string imei = "xxxxxxxxxxxxxxxxxxxxxxxxx";//My IMEI WhatsApp me = new WhatsApp(sender,imei ,nickname,true); me.Connect(); Console.WriteLine(me.ConnectionStatus);// I get a Connection! Console.ReadLine(); me.SendMessage("xxxxxxxxxx", "This is a Test!");// Send Message //No

Is it legal to use WhatsAPI? [closed]

做~自己de王妃 提交于 2019-11-27 02:03:45
问题 Is it legal to send messages through Whats App using https://github.com/venomous0x/WhatsAPI? I want to send reminders and notificiations using an application. 回答1: To answer your specific question: yes, it is legal to use WhatsAPI. Now for the story, it looks like the initial threats from Whats App to sue WhatsAPI were caused by people using the service for spam, and as such WhatsAPI got a cease and desist letter from WhatsApp lawyer. From what I could gather on their Github, the came to an

Does WhatsApp offer an open API? [closed]

六月ゝ 毕业季﹏ 提交于 2019-11-27 02:03:23
问题 I wonder if there is an open API to access WhatsApp through an internet protocol? The concrete question is: Is there a way to send a message to a list of WhatsApp users from an internet server? Is there any open concept for authentication? Or - is WhatsApp at the end a closed system without any open API through an internet protocol? 回答1: is the correct answer. WhatsApp is intentionally a closed system without an API for external access. There were several projects available that reverse

“This item cannot be shared. Please select a different item.” WhatsApp iOS share extension failure message

点点圈 提交于 2019-11-27 00:27:36
问题 This bug is fixed by WhatsApp team on 23rd May, 2016 (build no. 2.16.4). Unable to share NSString object using UIActivityViewController to WhatsApp. I tried to share using below code. But once contact is selected from the list, it shows an alert displaying " This item cannot be shared. Please select a different item. " CODE NSString *shareText = @"Temp text to share"; NSArray *itemsToShare = @[shareText]; UIActivityViewController *activityVC = [[UIActivityViewController alloc]

How i get WhatsApp abid to compose a message to a specific user in iOS?

我怕爱的太早我们不能终老 提交于 2019-11-26 22:56:54
How i get WhatsApp abid to compose a message to a specific user ? i want to send a text message when i select a contact in my app. This is my code: NSURL *whatsappURL = [NSURL URLWithString:@"whatsapp://send?abid=XXX"]; if ([[UIApplication sharedApplication] canOpenURL: whatsappURL]) { [[UIApplication sharedApplication] openURL: whatsappURL]; } WhatsApp official link: https://www.whatsapp.com/faq/iphone/23559013 Two recent solutions (July 2017) WhatsApp 'Click to Chat' API feature must work on all devices: https://faq.whatsapp.com/en/general/26000030 And, this other schema (for href links)

Share image and text through whatsapp

╄→гoц情女王★ 提交于 2019-11-26 21:53:18
问题 I use the following code to share an image and text through WhatsApp. It only shares the image, not the text, however. I have searched all over the Internet, but haven't found a solution. String message = Fname + Mobileno + Homeno + Workmail + Homemail + Gtalk + Skype + Address + Company + Title + Website; Intent shareIntent = new Intent(Intent.ACTION_SEND); Uri uri = Uri.parse("file://" + Environment.getExternalStorageDirectory() + "/Talk&Share/Images/profpic.png"); shareIntent.putExtra

Returning an Image to whatsapp

吃可爱长大的小学妹 提交于 2019-11-26 21:41:16
问题 I've been trying to build an app that shows up as an optional image source when a user tries to share an image using whatsapp. So far I have managed to get my app to show up in the service picker that whatsapp launches using intent filters but I cannot get the image to return correctly to whatsapp. Im posting my code below : public void returnImage(View v){ //Bitmap img; //Bundle selectedImage = new Bundle(); Uri imageURI; Intent shareIntent = new Intent(); switch(v.getId()){ case R.id.eric1