Selecting English in the Whatsapp API link - whatsapp

I hope this is a do-able thing.. I have my website where I link certain services to have us contact via Whatsapp using the link below:
https://api.whatsapp.com/send/?phone=97112345678&text=Hi+there%2C++I+would+like+you+to+book+for+ABC&app_absent=0
PS - I wrote a random phone number 97112345678 above. This can by any phone number with whatsapp.
On the desktop version of my site, this page opens up in Arabic for now since I am accessing this in UAE. Can I append something in the URL itself to land the page in English always? I tried "lang=en" as a guess but did not work.
link below showing the language

The language setting for your WhatsApp needs to be done on your mobile device. Follow the steps below to change your language. (Note that if you don't see the option below, it might not be supported in your country.)
Open WhatsApp.
Tap More options > Settings > Chats > App Language.
Select the language that you want (English).

Related

Change Google Custom Search layout from mobile to desktop?

I am currently developing a website that uses Google Custom Search and need to do some heavy CSS customisations. The thing is that I need it to be consistent between desktop and mobile layouts, as currently it is working fine for desktops, but looks broken on mobile phones due to the missing page numbering (on desktop it is 1 to 10, whereas on mobile it just shows: < Page 2 >).
Is there a way to trick Google CSE to always use the desktop layout, even on phones? I tried setting the UA string using Javascript in the website, but it did not work.
You can set the "mobileLayout" Search Element attribute to "disabled"
See https://developers.google.com/custom-search/docs/element#supported_attributes
example: <div class="gcse-search" data-mobileLayout="disabled"></div>

In-app messenger api with prepopulated text

Many apps used an in-app Facebook messenger api to share referral link directly to messenger. They also use prepopulated text with a link.
My question is fairly simple : How do they do it ?
I could not find any documentation about it, the closest thing I found is the send dialog api which doesn’t allow any prepopulated text.
Example (Lime app):
You need a Link not share, try this package or find something similar
https://www.npmjs.com/package/react-native-facebook-messenger

How to implement customized unfurling (preview snippets) with Branch.io quick links?

We generate quick links in our iOS app that are supposed to point to specific content within the app. When a quick link is shared via a messaging app that supports preview snippets, we want the snippet to display custom content depending on the parameters passed when our iOS app generates a link.
For example, user wants to share an audio, the app generates a link which is then posted in a messaging app or social media. We want the preview snippet to reflect specific title/subtitle and image related to that audio.
We use a custom domain name for Branch links if that matters.
What is the right way to achieve this?
You can use Link Preview for achieving this functionality. It will enable the link to display content as a preview card in Facebook, Twitter, Pinterest, iMessage, etc. This card can contain a title, description and image (that you append in the link as OG Tags such as $og_title, $og_description, and $og_image_url) .

Opening a WhatsApp chat from a website in IOS & Android

Is it possible to open a chat with a given phone number in WhatsApp from an website on IOS & Android? If so, how?
Have you tried creating a link like so?
https://api.whatsapp.com/send?text=Check%20this%20out
The text parameter lets you pre-fill the chat box with some .. text : - )
As far as I know, you may also specify the recipient's number like so
https://api.whatsapp.com/send?phone=4917241077
Just make sure you add the country code properly (49 would be Germany in this case)
Of course, you may combine parameters. I gave this a quick test yesterday since I need it for a project of mine and accessing this link on desktop opens the WhatsApp web chat. Doing so on a mobile phone opens the app.
It seems like this is not possible from within websites. Time to rest my case.
Nowadays it is explained here on their website:
Use https://wa.me/{number} where the {number} is a full phone number in international format. Omit any brackets, dashes, plus signs, and leading zeros when adding the phone number in international format.

Implementing "Rate application" functionality on a Windows Store app

I am trying to implement rating functionality in a Windows Store application using HTML / Javascript.
I am showing a popup dialog similar to the one below within the application and when "Rate" is clicked I would like to redirect to the Marketplace where the user can then rate the application.
This is a task that can easily be done on Windows Phone 7 via the MarketplaceReviewTask.
Is there an API on Windows 8 that I could call to have this achieved?
The Rate and Review link in the Settings charm will automatically appear for users other than yourself (since you can't rate your own app).
If you want a custom link somewhere, you can use LaunchUriAsync like Jim says, using this URI:
"ms-windows-store:REVIEW?PFN=[my-pfm]"
where my-pfm is "Package Family Name" which you will find in your application manifest.
Here's a blog post I found that's helpful:
http://www.andybeaulieu.com/Default.aspx?tabid=67&EntryID=227
If you use protocol activation (LaunchUriAsync) with the URI format suggested here you'll get to your app's page on the Store; however, there's still an additional step for the user to click Write a Review. There may be a way to deep link to it and I'll update if I find out.