iOS Question Share on Instagram,twitter,viber,whatsapp,..

Ramezanpour

Active Member
Licensed User
Hi

How to Share a photo on viber or instagram?

How about twitter , whatsApp And others.(facebook,wechat..)
 

ilan

Expert
Licensed User
(i know its an old thread but i was looking for how to share a text in whatsapp and this is what i found so i wanted to share the piece of code how to do that)

to share text in whatsapp do it like this:

B4X:
Dim txt As String = "Hello%2C%20World!"
Dim url As String = "whatsapp://send?text=" & txt
If App.CanOpenUrl(url) Then App.OpenUrl(url)
to decode text to url you can use this sevice: http://www.url-encode-decode.com/
 
Last edited:
Top