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
Developer
greenback
Posts: 532
Registered: ‎10-17-2010
My Device: BlackBerry Z10, DAC

Finally Solve OAuth on BB10

Hello devs!

Did you know that there are Oauth libraries for BlackBerry 10? They look great. They came out of BB10 Jam Orlando.

I am having one major issue. When I fork them from GitHub I cannot compile/build them. There are a bunch of errors, primarily with paths and inclusion of class header files. My use case is extending parts of this code into my application.


Here is the code

BlackBerry Oauth 2.0

https://github.com/kylefowler/bb-cascades-oauth

 

Foursquare(Oauth) BB10
https://github.com/kylefowler/foursquare

Tumblr(Oauth) BB10
https://github.com/kylefowler/tumblr

Twitter(Oauth) BB10
https://github.com/kylefowler/twitter-bb10

Have you successfully built and tested these projects?
If you have, please do share a step-by-step account on what you did.

 


Get featured on cascadescode.tumblr.com blog!
 

Contributors who help me figure this out will be featured on cascadescode.tumblr.com, where I am posting tips/videos/audio docs, and tutorials.


Thank you.

:Rockon:

Developer
Zymatic
Posts: 144
Registered: ‎12-18-2010
My Device: Limited Edition Z10 & Blackberry Playbook

Re: Finally Solve OAuth on BB10

Hello,

 

I was able to compile/build and deploy the Twitter project to my Dev Alpha device.  I had to add a translations folder.  I just copied it from one of my other projects I have on the go and renamed the files to match the project name.    I think that was all I did to get them to work.

 

What was the error that you are getting?

Playbook Apps:
Touch Painter, LinkShrink

BB10 Apps:
NoteToSelf , LinkShrink
Developer
greenback
Posts: 532
Registered: ‎10-17-2010
My Device: BlackBerry Z10, DAC

Re: Finally Solve OAuth on BB10

Here is the video of me cloning, importing project into the ide, building and getting the error. no edits made to source.

 

Video: [http://www.youtube.com/watch?v=-GlwRLKuXhc]

 

Error: "Launched failed, no binaries"

 

Can you post what you did/what you edited to make this sample code work?

Contributor
ejup2009
Posts: 20
Registered: ‎05-18-2010
My Device: BOLD 9900

Re: Finally Solve OAuth on BB10

Hello i am trying to put a bottom share with twitter, facebook, etc. I saw hat you did it. how can i do in this sample:

 

Page {
ScrollView {
scrollViewProperties {
scrollMode: ScrollMode.Both
pinchToZoomEnabled: true
}
Container {
background: Color.create("#f8f8f8")
layout: StackLayout {
layoutDirection: LayoutDirection.TopToBottom
}
WebView {
url: "http://genteblackberry.wordpress.com/category/blackberry-10-2/noticias-bb10/"
}
}
}
actions: [
ActionItem {
title: "Share"
ActionBar.placement: ActionBarPlacement.OnBar
onTriggered: {
myLabel.text = "Share selected!"
}
}
]
}

 

i dont know how conect the buttom to send me an instruction to authorization or how verificate account 

 

Sorry my english 

Enviado de mi BlackBerry Bold 9900

Ejup2009_Dev
Developer
LoganSix
Posts: 265
Registered: ‎01-02-2011
My Device: Z30, PlayBook

Re: Finally Solve OAuth on BB10

Any update on this?

_________________
Meetup for BlackBerry 10
Meetup Search Tool - not available at the moment