BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-19-2011, 01:49 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Mar 2011
Model: 8900
PIN: N/A
Carrier: Torch
Posts: 59
Post Thanks: 3
Thanked 1 Time in 1 Post
Default Twitter integration with bb

Please Login to Remove!

hi,

I am using 1.4 version of twitter jar & i am getting Security exception on

t = ter.post(t);

here z my code:

Token token = new Token(TOKEN_ACCESS, TOKEN_SECRET);

Credential c = new Credential(USER_NAME, CONSUMER_KEY, CONSUMER_SECRET,token);

UserAccountManager m = UserAccountManager.getInstance(c);

try {

if(m.verifyCredential()){
Dialog.alert("You are now logged in");


Tweet t = new Tweet("Hi!!! This is my first tweet via Twitter API ME.");
TweetER ter = TweetER.getInstance(m);

t = ter.post(t);
Dialog.alert("Posted");
}
else
Dialog.alert("User name and/or password are invalid!");
} catch (IOException e) {
// TODO Auto-generated catch block
Dialog.alert(e.getMessage());
} catch (LimitExceededException e) {
// TODO Auto-generated catch block
Dialog.alert(e.getMessage());
}


any one who has succeeded in posting tweet through bb app?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Twitter integration with bb
Thread Thread Starter Forum Replies Last Post
Facebook & twitter intergration(oauth) in BB application bibin.cs Developer Forum 3 09-05-2010 09:45 PM
Problem w/ Twitpic & BB Twitter app... shogunofharlem Social Networking 3 04-15-2010 08:28 AM
Mobimouse - turns your BB into a Mouse/Keyboard for any Windows PC! Redflea Aftermarket Software 10 03-30-2009 10:41 PM
Slow User Activation/Synchronization of BB Device and Missing E-mails on BB Device paulblackberry BES Admin Corner 6 03-19-2009 10:39 AM
Recommendation for Web mail integration with BB hdawg General BlackBerry Discussion 11 02-28-2008 09:40 PM

Micromanipulator 2550 Left-Hand X-Y-Z Vacuum Base Probe Positioner Manipulator
$249.99
Micromanipulator 2550 Left-Hand X-Y-Z Vacuum Base Probe Positioner Manipulator pictureShop-Vac 5989300 5-Gallon 4.5 Peak HP Stainless Steel Wet Dry Vacuum 175 CFM
$89.99
Shop-Vac 5989300 5-Gallon 4.5 Peak HP Stainless Steel Wet Dry Vacuum 175 CFM pictureNew Testo 552 Digital Vacuum Gauge Meter 0560 5520 Vacuum Measuring Instrument
$253.13
New Testo 552 Digital Vacuum Gauge Meter 0560 5520 Vacuum Measuring Instrument pictureR410a R134 1 Stage Rotary Vane 4CFM1/3HP Deep Vacuum Pump HVAC AC Air Tools
$99.01
R410a R134 1 Stage Rotary Vane 4CFM1/3HP Deep Vacuum Pump HVAC AC Air Tools  pictureMKS Instruments HPS Division Catalog Vacuum Gauges etc Big Folder 1993
$19.95
MKS Instruments HPS Division Catalog Vacuum Gauges etc Big Folder 1993 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.