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

Java Development

Reply
Regular Contributor
Posts: 74
Registered: ‎12-30-2010
My Device: Blackberry Bold 9700
My Carrier: Vodafone.

Re: integrate Facebook SDK with Blackberry5

actual i know how to get AccessToken  without using facebook SDK.,

but i want to use this SDK for my facebook Application ...

 

Thanks .,

Nilesh

Thanks .,
Nilesh .
Contributor
Posts: 23
Registered: ‎10-17-2011
My Device: 9700
My Carrier: NA

Re: integrate Facebook SDK with Blackberry5

Hi ,
I would suggest go to Facebook Developer forum and you will get to know how to use it for ur App. If still u are not getting anything then u can put ur query again for the same.

Regards
Amma

Regular Contributor
Posts: 74
Registered: ‎12-30-2010
My Device: Blackberry Bold 9700
My Carrier: Vodafone.

Re: integrate Facebook SDK with Blackberry5

actually i know how to get AccessToken without SDK .,
but some reason i need to used this token...
So you have any idea how to get AccessToken
Thanks .,
Nilesh .
Contributor
Posts: 23
Registered: ‎10-17-2011
My Device: 9700
My Carrier: NA

Re: integrate Facebook SDK with Blackberry5

ru using graph api for this?
Regular Contributor
Posts: 74
Registered: ‎12-30-2010
My Device: Blackberry Bold 9700
My Carrier: Vodafone.

Re: integrate Facebook SDK with Blackberry5

graph Api for what ... ?

 

 

 

Thanks .,
Nilesh .
Contributor
Posts: 23
Registered: ‎10-17-2011
My Device: 9700
My Carrier: NA

Re: integrate Facebook SDK with Blackberry5

In order to get the Access token ?
Regular Contributor
Posts: 74
Registered: ‎12-30-2010
My Device: Blackberry Bold 9700
My Carrier: Vodafone.

Re: integrate Facebook SDK with Blackberry5

No need Graph API.,

you will see this AccessToken redirectURL ..

 

Thanks .,
Nilesh .
Contributor
Posts: 23
Registered: ‎10-17-2011
My Device: 9700
My Carrier: NA

Re: integrate Facebook SDK with Blackberry5

ok then how ru getting the Access Token ? can u pls paste the url here, by using u r getting ur access token ?
Regular Contributor
Posts: 74
Registered: ‎12-30-2010
My Device: Blackberry Bold 9700
My Carrier: Vodafone.

Re: integrate Facebook SDK with Blackberry5

hit below URL

 

http://m.facebook.com/dialog/oauth?client_id=ClientID&response_type=token&redirect_uri=redirectURL&s...

 

then facebook Login -> Facebook Permission Page->redirect your "redirect_uri" .

 

when facebook redirect to your redirect URL then see in browser URL contain AccessToken..(for testing try your desktop browser)....

EVEN facebook blackberry SDK doing same thing & storing this AccessToken into persistant DB (i just found )

 

Thanks.,

Nilesh

 

 

Thanks .,
Nilesh .
Contributor
Posts: 23
Registered: ‎10-17-2011
My Device: 9700
My Carrier: NA

Re: integrate Facebook SDK with Blackberry5

on hitting this i am not getting any access token its giving error there and on click on ok button its redirect to the facebook loging page. and the access token ur getting is the same as that example. so study the oauth and also sample code , u will get ur all ans.

Regards
Amma