WhatsApp HTML Sharing Link for Image

One solution that comes to mind is uploading a photo to your server via AJAX, returning the link to the uploaded photo and then sending a message with the link to your photo using the method you described in your question. This is not quite the same as sending an image directly using Whatsapp since … Read more

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

Received a response from WhatsApp team – WhatsApp Support – Hi, Sorry for the delay! We have received many emails recently, and we do our best to answer them all. Thank you for your patience. Thank you for informing us about the issue; it will be fixed in a future version of WhatsApp. Unfortunately, we … Read more

iOS share image AND text to WhatsApp

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 *objectsToShare = @[textToShare, image]; UIActivityViewController *activityVC = [[UIActivityViewController alloc] initWithActivityItems:objectsToShare applicationActivities:nil]; [self presentViewController:activityVC animated:YES completion:nil]; Run the above code and select whats … Read more

How did WhatsApp achieve 2 million connections per server?

If you have enough RAM it’s not too hard to handle 1M or more connections on linux. These guys handled 10 million connections with a java application on a single box using regular CentOS kernel with a few sysctl tweaks: sysctl -w fs.file-max=12000500 sysctl -w fs.nr_open=20000500 ulimit -n 20000000 sysctl -w net.ipv4.tcp_mem=’10000000 10000000 10000000′ sysctl … Read more

Why do whatsapp web application needs phone connection all the time?

The official explanation: Your session on WhatsApp Web is an extension of WhatsApp on your phone. WhatsApp Web connects to your phone to sync messages, thus you can see all messages on both devices. Thus, the first requirement to being able to use WhatsApp Web is an active WhatsApp account on your smartphone. Source: https://www.whatsapp.com/faq/en/web/28080002 … Read more

How does the web version of Whatsapp work on iOS devices considering the OS shuts apps in 30 seconds?

Just as a side note, Apple introduced the Notification Service extension point in iOS 10, which can be used to achieve this. The following applies only to iOS 9.x or earlier. No app in iOS can be long alive in background with a keep-alive socket, or guaranteed to wake by remote notifications except those using … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)