[twitter-dev] Can I do this with OAuth?

2011-05-28 Thread Behi
Hi all,

Some apps (e.g. TwitBird for iPad) have a very simple and
straightforward authentication process: once a user downloads and runs
the app, it asks for his username and password and then it
automatically logs in the user, and adds the app to the list of his
authorized applications in http://twitter.com/settings/applications.

Can this be done with OAuth? Right now I glimpsed over the OAuth docs
for Twitter as well some tutorials on the Web, but apparently they all
open up a browser and redirect users to Twitter and ask him to
explicitly grant Twitter access to the app.

Is there a way to use OAuth, but provide a smooth all in-app user
experience to the user like TwitBird does, and if so, where can I find
more about it?

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Ampersand

2011-05-28 Thread Alexander Skwar
Hi.

Is the  properly encoded when it gets sent to twitter? Sounds like it
isn't...

-- 
Alexander
Am 28.05.2011 08:06 schrieb R r4eem...@gmail.com:
 I'm using cocoa and NSUTF8StringEncoding. When I post a sentence
 that contains the ampersand (), all text that follows is removed from
 the resulting tweet.

 How should I deal with the  within a sentence (not URL) of a post?

 Thanks -- Ron

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
https://groups.google.com/forum/#!forum/twitter-development-talk

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Can I do this with OAuth?

2011-05-28 Thread Evadne Wu
Hey Behi,

It’s XAuth: http://dev.twitter.com/pages/xauth .

-ev

On May 28, 2011, at 14:05, Behi wrote:

 Hi all,
 
 Some apps (e.g. TwitBird for iPad) have a very simple and
 straightforward authentication process: once a user downloads and runs
 the app, it asks for his username and password and then it
 automatically logs in the user, and adds the app to the list of his
 authorized applications in http://twitter.com/settings/applications.
 
 Can this be done with OAuth? Right now I glimpsed over the OAuth docs
 for Twitter as well some tutorials on the Web, but apparently they all
 open up a browser and redirect users to Twitter and ask him to
 explicitly grant Twitter access to the app.
 
 Is there a way to use OAuth, but provide a smooth all in-app user
 experience to the user like TwitBird does, and if so, where can I find
 more about it?
 
 -- 
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 https://groups.google.com/forum/#!forum/twitter-development-talk

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Ampersand

2011-05-28 Thread Sean Heber
This is OT for this list, but you need to use NSString's 
-stringByAddingPercentEscapesUsingEncoding: method (or similar) to encode 
characters correctly for URLs.

l8r
Sean

On May 27, 2011, at 9:10 PM, R wrote:

 I'm using cocoa and NSUTF8StringEncoding.   When I post a sentence
 that contains the ampersand (), all text that follows is removed from
 the resulting tweet.
 
 How should I deal with the  within a sentence (not URL) of a post?
 
 Thanks -- Ron
 
 -- 
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 https://groups.google.com/forum/#!forum/twitter-development-talk

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Re: New 2 Android twitter app

2011-05-28 Thread Marcio Valenzuela
Plus now I found this :(

http://stackoverflow.com/questions/5962526/how-to-connect-twitter-client-application-in-android


On Fri, May 27, 2011 at 9:43 PM, marcio quique...@gmail.com wrote:

 Yes I have.  I read it 2x and I just read it again once more. I understand
 about 25%.  But if I use a callback URL I need to change my application to
 browser instead of client?  But what do I enter as callback URL?  Because
 it's still a client based app so it really needs to return to my app, not a
 web URL?

 --
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 https://groups.google.com/forum/#!forum/twitter-development-talk


-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Will requesting DM access now disable xAuth for my app?

2011-05-28 Thread Andrew W. Donoho

On May 28, 2011, at 00:31 , Ed Finkler wrote:

 Can I do this, or should I register a new application? Or do I have other 
 options?




Just create a test account and use it.



Anon,
Andrew

Andrew W. Donoho
Donoho Design Group, L.L.C.
a...@ddg.com, +1 (512) 750-7596, twitter.com/adonoho

To take no detours from the high road of reason and social responsibility.
-- Marcus Aurelius






-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] oAuth with twitpic or yfrog photo uploads in mobile apps

2011-05-28 Thread Frank Ash
I am having some trouble integrating either yfrog or twitpic into my
app. All the others I see are asking for users names and passwords
inside the app, and not using oauth. Is it possible to let people post
pictures to their stream using one of these services if the
application uses only oAuth and not xauth? I am just assuming the
people asking for account and passwords are using xauth.

I am trying to integrate it using their new API which uses oauth
access tokens.

I get this error consistently:
 Timed out verifying authentication token with Twitter.com. This
could be a problem with TwitPic servers. Try again later.

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] TweetDeck technical problem

2011-05-28 Thread Patrick Kennedy
This is not strictly a dev question, but I was hoping others here may
be able to suggest or redirect.  I have recently started using Bodhi
Linux, but I have not been able to get TweetDeck to work on it.  Bodhi
is based on the Ubuntu distro, but it's a minimalist version, and the
user must use apt-get to pull down other software and components.
TweetDeck works great on Ubuntu, but I have yet to make it work on
Bodhi.  I can install AIR and TweetDeck, but when launching TweetDeck
the first time, it says:

Oops, TweetDeck can't find your data

TweetDeck is having trouble using some of your passwords that are
stored securely on your machine.  Clicking Submit will clear this data
so that you continue to use TweetDeck.

Please note that you will have to add your accounts to TweetDeck
again.

OK

There is no submit button, per se, but clicking the OK button
leads to second dialog box that says:

Sorry, Adobe AIR has a problem running on this computer

TweetDeck is having trouble storing your passwords securely.  Please
check the article at http://kb2.adobe.com/cps/492/cpsid_49267.html for
information on what may be wrong and how to fix it.

OK

Clicking OK will only redisplay this second message repeatedly.
Clicking the close control button will close the dialog, but it is
impossible to subsequently add a user account.  I plan to try to
contact Adobe, but perhaps someone here may know the issue or can
provide a solid reference for help.

The question is what component needs to be installed to store
passwords on Linux with Gnome?  Kwallet is not the ticket (KDE).  The
gnome keyring service is running, but there appears to be a subsystem
missing for the password storage for Gnome Desktop apps.

Any ideas?

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Re: oAuth with twitpic or yfrog photo uploads in mobile apps

2011-05-28 Thread Patrick Kennedy

Frank -

A lot of the existing examples you see on the Internet use basic
oAuth, but these are just old examples, and you must use oAuth.  It's
possible to make it work -  I've made a basic TwitPic prototype, so I
know it's doable.  (Still working on 4sq tho!)  You simple need to
master the oAuth process, plus you have to deal with the IMAGE upload
and submittal process.  Here's the PHP tutorial that helped me master
TwitPic image uploads -

http://shkspr.mobi/blog/index.php/2010/05/howto-twitpic-and-oauth

And, here's some file uploading background info as a good reference -

http://www.w3schools.com/PHP/php_file_upload.asp

~Patrick

On May 28, 6:55 pm, Frank Ash nut...@gmail.com wrote:
 I am having some trouble integrating either yfrog or twitpic into my
 app. All the others I see are asking for users names and passwords
 inside the app, and not using oauth. Is it possible to let people post
 pictures to their stream using one of these services if the
 application uses only oAuth and not xauth? I am just assuming the
 people asking for account and passwords are using xauth.

 I am trying to integrate it using their new API which uses oauth
 access tokens.

 I get this error consistently:
  Timed out verifying authentication token with Twitter.com. This
 could be a problem with TwitPic servers. Try again later.

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] Re: New 2 Android twitter app

2011-05-28 Thread marcio
ok I got it...my app was actually client type, but even though its a client 
native app on android, it has to be browsable for the callback url to work, 
EVEN THOUGH the callback_URL you configure on dev.twitter.com is just for 
looks cause you end up redirecting to your app anyway. :)  Thx for all the 
help.

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk