Share image and text through whatsapp

Whatsapp Support Image sharing along with text. Intent shareIntent = new Intent(); shareIntent.setAction(Intent.ACTION_SEND); shareIntent.putExtra(Intent.EXTRA_TEXT,title + “\n\nLink : ” + link ); shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(imageFilePath)); shareIntent.setType(“image/*”); startActivity(Intent.createChooser(shareIntent, “Share image via:”)); This will share image and EXTRA_TEXT will consider as image caption.

How does the WhatsApp web client still work with the latest iOS update (SDK version 13.0+)?

This is WhatsApp latest entitlements file: <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”> <plist version=”1.0″> <dict> <key>com.apple.developer.icloud-container-identifiers</key> <array> <string>57T9237FN3.net.whatsapp.WhatsApp</string> </array> <key>com.apple.developer.pushkit.unrestricted-voip</key> <true/> <key>com.apple.developer.ubiquity-container-identifiers</key> <array> <string>57T9237FN3.net.whatsapp.WhatsApp</string> </array> <key>application-identifier</key> <string>UKFA9XBX6K.net.whatsapp.WhatsApp</string> <key>com.apple.developer.carplay-messaging</key> <true/> <key>aps-environment</key> <string>production</string> <key>com.apple.developer.icloud-container-environment</key> <string>Production</string> <key>com.apple.developer.associated-domains</key> <array> <string>applinks:api.whatsapp.com</string> <string>applinks:v.whatsapp.com</string> <string>applinks:chat.whatsapp.com</string> <string>applinks:wa.me</string> </array> <key>com.apple.developer.siri</key> <true/> <key>com.apple.developer.team-identifier</key> <string>57T9237FN3</string> <key>com.apple.developer.icloud-services</key> <array> <string>CloudDocuments</string> <string>CloudKit</string> </array> <key>com.apple.security.application-groups</key> <array> … Read more

How to share text to WhatsApp from my app?

You can use intent to do so. No need to use Whatsapp API. Intent whatsappIntent = new Intent(Intent.ACTION_SEND); whatsappIntent.setType(“text/plain”); whatsappIntent.setPackage(“com.whatsapp”); whatsappIntent.putExtra(Intent.EXTRA_TEXT, “The text you wanted to share”); try { activity.startActivity(whatsappIntent); } catch (android.content.ActivityNotFoundException ex) { ToastHelper.MakeShortText(“Whatsapp have not been installed.”); }

How to open specific contact chat screen in various popular chat/social-networks apps?

For Facebook-messenger, I’ve found this (from https://developers.facebook.com/docs/messenger-platform/discovery/m-me-links#format): final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(“http://m.me/” + facebookId)); It works, but I wonder if there is another way to access it (using phone number, for example). For WhatsApp, I’ve found this (from here) : final String formattedPhoneNumber = getFormattedPhoneNumber(this, phone); final String contactId = getContactIdFromPhoneNumber(phone); final String … Read more

How to download an image with Python 3/Selenium if the URL begins with “blob:”?

A blob is a filelike object of raw data stored by the browser. You can see them at chrome://blob-internals/ It’s possible to get the content of a blob with Selenium with a script injection. However, you’ll have to comply to the cross origin policy by running the script on the page/domain that created the blob: … Read more

WhatsApp image sharing iOS [closed]

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 … Read more