Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-27-2010, 12:28 PM   #1 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 92
funkyspider is on a distinguished road
Default Twitter OAuth - worth implementing yet ?

I want my app to be twitter enabled. I only want to post tweets, not retrieve etc. I've been investigating basic vs OAuth twitter authentication. It seems that OAuth is not that widely used at the moment although I notice there's a plugin framework available over at github. Claims that twitter will discontinue basic auth seem to have been around since mid 2009 with no further word on it happening.

Is it worth implementing OAuth in my app, has anyone implemented it and is it more complicated than just pompting for twitter user/pass. I've seen screenshots of web apps which ask for permissions, require generated PIN input etc, but that may have been early beta's.

Thanks
funkyspider is offline   Reply With Quote
Old 03-27-2010, 02:04 PM   #2 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 92
funkyspider is on a distinguished road
Default

It seems the browserless xauth method is the way to go if you use OAuth

Twitter API Wiki / Twitter REST API Method: oauth access_token for xAuth

Just have to work out how to implement that through the iPhone API
funkyspider is offline   Reply With Quote
Old 03-28-2010, 05:11 AM   #3 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 92
funkyspider is on a distinguished road
Default

Well I've implemented OAuth using bengottlieb plugin code from github. It will do for the proof of concept app, was fairly easy to implement.

One question for anyone else who's used this code - Once OAuth has been granted by the user the user/pass is never prompted for again. How would I log out of twitter allowing the user to log in as a different account ?
funkyspider is offline   Reply With Quote
Old 04-20-2010, 06:08 PM   #4 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 20
lionfly is on a distinguished road
Default

Quote:
Originally Posted by funkyspider View Post
Well I've implemented OAuth using bengottlieb plugin code from github. It will do for the proof of concept app, was fairly easy to implement.
Hi there, currently I used
Code:
NSURL *twitURL=[NSURL URLWithString:@"http://username:password@twitter.com/statuses/update.xml"];
to send tweets directly to my own twitter account, and will need a Twitter login pop-up login window in the future. But I do not want to use the MGTwitterEngine, which seems too big for just a login check.

So I am interested in your Oauth+bengottlieb way. Does it pop up a twitter login window, and allow or refuse according to the username/password info, then come back to your app?

Could you show a good link for this please? Thanks.
lionfly is offline   Reply With Quote
Old 09-11-2010, 02:49 PM   #5 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 22
iphonemobdev is on a distinguished road
Default About OAuth and New Twitter API

Quote:
Originally Posted by funkyspider View Post
Well I've implemented OAuth using bengottlieb plugin code from github. It will do for the proof of concept app, was fairly easy to implement.

One question for anyone else who's used this code - Once OAuth has been granted by the user the user/pass is never prompted for again. How would I log out of twitter allowing the user to log in as a different account ?
Hello Friend,

Can you please share you code with us so we can easily implement OAuth into iPhone application.
iphonemobdev is offline   Reply With Quote
Old 09-12-2010, 03:44 PM   #6 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 138
rrichar is on a distinguished road
Default

I have a Tab Bar App program. For one of my tabs I want it to get post from my twitter account so it can post news announcements meetings and events. Can someone PM me with some help. I don't need the users to login.
rrichar is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

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



» Advertisements
» Online Users: 353
13 members and 340 guests
akacaj, c2matrix, cgokey, esoteric, GHuebner, givensur, HemiMG, Mirotion22, mjnafjke, Pudding, SLIC, Sonuye857, Techgirl-52
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,652
Threads: 94,115
Posts: 402,887
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Sonuye857
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:17 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0