Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

BlackBerry WebWorks Contributions

Reply
New Contributor
rakesh_katkam2012
Posts: 6
Registered: ‎11-28-2012
My Carrier: Docomo

iframe in blackberry webworks (share option for twitter)

hello,

I am developing a backberry webworks app using ripple, in which i want to implement share on facebook and twitter functionality,for which i am trying to open the respective pages in iframe but its not working. I tried to use location.href also,but when i complete the share process and press back button my app starts from manu page rather than resuming from the page on which i have provided share option.

i just want to open the following url for twitter share var url = 'http://twitter.com/home?status=I am Listening to '+song_title+' '+surl+' via @myApp';

Please suggest me solution for this. Thank you!! :smileyhappy:

Please use plain text.
Developer
Philipk
Posts: 490
Registered: ‎05-06-2012
My Carrier: wifi

Re: iframe in blackberry webworks (share option for twitter)

Invoke the share card and get the functionality you are going for much easier and more options to share with.

https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/ShareTargets
_________________________________________________________
Twitter: @PhilipK_ca
Please use plain text.
Developer
zezke
Posts: 816
Registered: ‎12-12-2010
My Carrier: Mobile Vikings

Re: iframe in blackberry webworks (share option for twitter)

1) Don't use iFrames.

2) Use the invocation framework

-------------------------------------------
Your like is much appreciated!
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
Please use plain text.