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.

inside custom component

Native Development

Reply
New Contributor
kokhou
Posts: 8
Registered: ‎07-11-2013
My Device: alpha B
My Carrier: digi

facebook , twitter (Share function)

how can i share text to my facebook and twitter wall ?? how can i get my facebook id ??

 

 

Please use plain text.
Developer
zezke
Posts: 1,004
Registered: ‎12-12-2010
My Device: Z10 (red Limited Edition)
My Carrier: Mobile Vikings

Re: facebook , twitter (Share function)

Your post is not really excelling in info or clarity. However I am in a good mood, so here's some code!

 

Button {
    attachedObjects: [
        Invocation {
            id: invoke
            query {
                mimeType: "text/txt"
                data: "I should promoto zezke to BlackBerry Elite!"
            }
        }
    ]
 
  onClicked: {
    invoke.trigger("bb.action.SHARE")
  }
}

 

-------------------------------------------
BlackBerry Certified Builder for Native Application Development -- Proud member of the Belgian BlackBerry Developer group
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
Please use plain text.