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

Adobe AIR Development

Reply
Contributor
subhaMaz
Posts: 18
Registered: ‎02-18-2011

Tweeter Oauth request from playbook application giving IO error when trying to get request token

Hi

 

I am trying to integrating twitter Oauth api with my playbook app where user can tweet a certaint feed from my app to their account. After lots of googling I got only one code snippet for this from

 

http://snipplr.com/view/48321/playbook-oauth-example-with-the-twitter-api/

 

for this code we need

 

package com.hurlant.crypto

package org.iotashan.oauth

 

Just I have explored the code.google repository and copied all the codes from their to the respective package in my app as they are declared in above example.

 

But when Iam trying to Debug my application after clicking on the Login to Twitter button it is showing the following Error-

 

Error #2044: UnhandledioError:.text=Error #2032: Stream Error. URL: https://api.twitter.com/oauth_consumer_key = ...&oauth_nonce=...&oauth_signature=...&oauth_signature_method=...&oauth_timestamp=...atPlayBookOauthDemo/onclick()[C:\Documents and Settings\Com-4\Adobe Flash Builder 4\PlayBookOauthDemo.as:110]

 

Can any one tell me that whats the wrong with this liblary package or the example? Is there any different Twitter Oauth sdk for Playbook to work with.

 

please help me to get rid of this issue ....please if u can....

 

Regards-

subhaMaz

Please use plain text.
Developer
jtegen
Posts: 6,145
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Tweeter Oauth request from playbook application giving IO error when trying to get request token

This is end user forum. Your question might be better suited on the developer forums for either WebWorks or Adobe AIR.
Please use plain text.
Contributor
subhaMaz
Posts: 18
Registered: ‎02-18-2011

Re: Tweeter Oauth request from playbook application giving IO error when trying to get request token

Hi John

 

Thanks for you quick reply. Could you please give me the Developer forrum url of  BlackBerry Playbook Adobe AIR Application to post this issue.

 

Thanks-

subhaMaz

Please use plain text.
Developer
jtegen
Posts: 6,145
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Tweeter Oauth request from playbook application giving IO error when trying to get request token

Please use plain text.
Developer
CoCopia
Posts: 231
Registered: ‎05-03-2011
My Carrier: Legs

Re: Tweeter Oauth request from playbook application giving IO error when trying to get request token

This could be caused by using Java within the ADL, or an incorrect URL, wrap the call in a try catch to prevent the error popping up, your code should work when testing in a browser though

Keep the Forum productive and useful for all. Click Kudos button if I've helped you. Select Solved to help everyone.

PlayBook qualifying app - Pandoras' Lights
Blog - CoCopia.co.uk Catch me on Twitter cocopia_apps
Please use plain text.