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

Web and WebWorks Development

Reply
Developer
msvishnumkl
Posts: 48
Registered: ‎05-02-2013
My Device: Z 10
Accepted Solution

facebook share using invokation framework

[ Edited ]

I want to share a url in facebook. I used the below code 

 

blackberry.invoke.invoke({
target: "Facebook",
action: "bb.action.SHARE",
uri: "http://goodliving.gulfnews.com/bid_travel#.UoRZpPnI2So",
}, onSuccess, onError);

 

It displays url  and  preview in the facebook page.

 

But I need preview only.

 

Please help me to do this. Thanks in advance.

BlackBerry Development Advisor
oros
Posts: 1,557
Registered: ‎04-12-2010
My Device: BlackBerry Z10

Re: facebook share using invokation framework

All of the available invocations for Facebook are listed here:

http://developer.blackberry.com/html5/documentation/facebook.html

 

There's only one URL invocation and it seems that is the default behaviour with no way to remove the URL from the content of the share. This is dependant on the Facebook application's implementation of sharing itself.


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.