How to implement "Share" function?

I'm trying to implement "Share" function in my app which will enable the users to share my app on social medias like facebook, twitter or instagram from their iPhone or Android devices. However, I got some JavaScript APIs from Facebook but it didnt work atall. Is there a way around this to make it work?

Hi Babatunde,

Have you tried "Intent API" that helps to communicate with other apps like Facebook, G mail etc?

Please refer the following links

http://docs.rhomobile.com/en/edge/api/Intent

http://docs.rhomobile.com/en/4.1.0/guide/intent

Visnupriya R

Kutir Mobility

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Hi Babatunde,

Unfortunately the API does not support Intent Share with other applications using the same as we do in a simple way to Android.

The only way to do this is to form native extensions for creating such a procedure.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Hi Fernando,

How can I form the native extension as you suggest? Any sample code or procedure you can point me to?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Thanks, that actually works.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’