[twitter-dev] Re: Retweet Anywhere for WordPress

2010-04-20 Thread kovshenin
Abraham, that's nice, though there may be one drawback when shortening
the links. A call to bit.ly or other URL shorteners could take some
time, thus slowing down your page if you do it server-side. Of course
you could cache it or do it via javascript with a PHP tunnel (AJAX)
but what's the point of shortening the link if there's a very little
chance that people will actually tweet it. On the other hand, if you
shorten only when somebody pressed "Retweet" then there's a greater
chance of them actually tweeting, so it's worthed ;) Anywyas, if
you're using a preset shortened link then it's good, and I like the
way it looks ;) bravo!

Ed, it is easy with a few tricks, check out this one
http://kovshenin.com/archives/setup-twitter-anywhere-for-wordpress-in-seconds/
called Setup Twitter @Anywhere for WordPress in Seconds. Anyways, the
value of this plugin I'm thinking of is not actually the "embedding
@Anywhere" part, but having the facebox style popup with a preset
status and a shortened link to the post.

On Apr 21, 7:09 am, Abraham Williams <4bra...@gmail.com> wrote:
> Interesting. I took a slightly different approach of embedded the Tweet Box
> on my blog and pre-filling it with the title and a shortened URL.
>
> http://the.hackerconundrum.com/
>
> Abraham
>
>
>
> On Tue, Apr 20, 2010 at 08:29, kovshenin  wrote:
> > Hey all. I've been working on this little plugin for WordPress that's
> > supposed to kind of act like Tweetmeme, but a little bit more branded
> > and doesn't actually show the number of retweets, maybe that's a
> > drawback, but hey, I wouldn't like to show 0 retweets ;)
>
> > Anyway, the snippet works with jQuery and Facebox, you can see it in
> > action onhttp://kovshenin.comin each blog post. I used the original
> > @Anywhere "Follow @.." button but wrote Retweet (is that against the
> > law?).
>
> > I was just wondering what your thoughts are. Is this useful or is this
> > yet another crappy parody on tweetmeme? I haven't released the plugin
> > public yet, but you'll be able to tweak the url shortener, tweet
> > format, etc.
>
> > Any feedback is appreciated. Thanks!
>
> > ~ K
>
> > --
> > Subscription settings:
> >http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>
> --
> Abraham Williams | Developer for hire |http://abrah.am
> PoseurTech Labs | Projects |http://labs.poseurtech.com
> This email is: [ ] shareable [x] ask first [ ] private.


Re: [twitter-dev] Re: Can our twitter app call "/oauth/revoke"?

2010-04-20 Thread Abraham Williams
Ya. I was surprised when that change was made.

Abraham

On Tue, Apr 20, 2010 at 23:04, Andy Freeman  wrote:

> While I may not want to revoke access for a key, I don't want to leave
> folks logged into twitter if they use my application from a shared
> computer.  (And no, asking them to log out from twitter isn't
> reasonable.)
>
> It used to be that oauth/authorize did NOT leave users logged into
> twitter, now it does.
>
> http://code.google.com/p/twitter-api/issues/detail?id=1453
>
>
>
> On Apr 20, 6:36 pm, Abraham Williams <4bra...@gmail.com> wrote:
> > There is no oauth/revoke method. Personally I don't see much utility in
> one
> > except for keeping /settings/connections less cluttered.
> >
> > Abraham
> >
> >
> >
> >
> >
> > On Tue, Apr 20, 2010 at 18:15, Robbie Coleman 
> wrote:
> > > I do not see it documented, and dev.twitter.com/doc is throwing 403's
> on
> > > searches, but I do see that your own "
> > >http://twitter.com/settings/connections"; "Revoke Access" links call
> this
> > > on the click event.
> >
> > > I am trying to provide our users a clean UI for managing all of their
> OAuth
> > > enabled networks/sites, and twitter is one of those. Both Facebook and
> > > Google (their OAuth contact API) provide API calls to revoke a user's
> > > access_token/session_key.
> >
> > > Thanks,
> > > Robbie Coleman
> > > Software Cleric & Social Shaman
> > > Gravity
> >
> > --
> > Abraham Williams | Developer for hire |http://abrah.am
> > PoseurTech Labs | Projects |http://labs.poseurtech.com
> > This email is: [ ] shareable [x] ask first [ ] private.
> >
> > --
> > Subscription settings:
> http://groups.google.com/group/twitter-development-talk/subscribe?hl=en-Hide 
> quoted text -
> >
> > - Show quoted text -
>



-- 
Abraham Williams | Developer for hire | http://abrah.am
PoseurTech Labs | Projects | http://labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Re: How to end user session?

2010-04-20 Thread Andy Freeman
While oauth/authenticate with force_login=true does force users to
provide credentials, oauth/authenticate leaves them logged into
twitter, which is somewhat dangerous from a shared or public computer.

oauth/authorize used to behave differently - it didn't leave users
logged in.  However, that
changed - see http://code.google.com/p/twitter-api/issues/detail?id=1453
.

On Apr 20, 5:55 pm, Abraham Williams <4bra...@gmail.com> wrote:
> You can add send users 
> tohttps://twitter.com/oauth/authenticate?oauth_token=xyz&force_login=tr...
> the &force_login=true) to have users always prompted for username
> and password on twitter.com.
>
> http://apiwiki.twitter.com/Twitter-REST-API-Method:-oauth-authenticate
>
> 
> Abraham
>
>
>
>
>
> On Tue, Apr 20, 2010 at 12:48, Jonathon Hill  wrote:
> > Hello,
>
> > I'm building an app that uses OAuth for registration and
> > authentication. Is there any way to log an authenticated user out of
> > twitter, so that he/she can log in with a different twitter account?
>
> > Calling the REST endpoint /account/end_session.json doesn't work.
>
> > Thanks,
>
> > Jonathon Hill
>
> > Company52
> >http://company52.com
> > @compwright
>
> > --
> > Subscription settings:
> >http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>
> --
> Abraham Williams | Developer for hire |http://abrah.am
> PoseurTech Labs | Projects |http://labs.poseurtech.com
> This email is: [ ] shareable [x] ask first [ ] private.- Hide quoted text -
>
> - Show quoted text -


[twitter-dev] Re: Can our twitter app call "/oauth/revoke"?

2010-04-20 Thread Andy Freeman
While I may not want to revoke access for a key, I don't want to leave
folks logged into twitter if they use my application from a shared
computer.  (And no, asking them to log out from twitter isn't
reasonable.)

It used to be that oauth/authorize did NOT leave users logged into
twitter, now it does.

http://code.google.com/p/twitter-api/issues/detail?id=1453



On Apr 20, 6:36 pm, Abraham Williams <4bra...@gmail.com> wrote:
> There is no oauth/revoke method. Personally I don't see much utility in one
> except for keeping /settings/connections less cluttered.
>
> Abraham
>
>
>
>
>
> On Tue, Apr 20, 2010 at 18:15, Robbie Coleman  wrote:
> > I do not see it documented, and dev.twitter.com/doc is throwing 403's on
> > searches, but I do see that your own "
> >http://twitter.com/settings/connections"; "Revoke Access" links call this
> > on the click event.
>
> > I am trying to provide our users a clean UI for managing all of their OAuth
> > enabled networks/sites, and twitter is one of those. Both Facebook and
> > Google (their OAuth contact API) provide API calls to revoke a user's
> > access_token/session_key.
>
> > Thanks,
> > Robbie Coleman
> > Software Cleric & Social Shaman
> > Gravity
>
> --
> Abraham Williams | Developer for hire |http://abrah.am
> PoseurTech Labs | Projects |http://labs.poseurtech.com
> This email is: [ ] shareable [x] ask first [ ] private.
>
> --
> Subscription 
> settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en-
>  Hide quoted text -
>
> - Show quoted text -


Re: [twitter-dev] Re: Early look at Annotations

2010-04-20 Thread Raffi Krikorian
>
> Not to be glib, but they are more than welcome to join in on the
>> conversation in the community. We plan to let the community really drive
>> this one.
>>
>>  ReadWriteWebs's Co-Editor, Marshall Kirkpatrick, suggests today that
>>> Twitter intends to leave the annotation classification system to be
>>> determined by the market.
>>> http://bit.ly/csK8Od
>>>
>>> Although I appreciate that Twitter values keeping the annotation
>>> ecosystem open for innovation and adaptation, I hope the conversation
>>> on Linked Data metadata standards within Twitter annotations is just
>>> beginning.
>>>
>>> It could be an historic lost opportunity if the hard driving Twitter
>>> team doesn�ft step back and consider soliciting the counsel of the W3C,
>>>
>>> Sir TB-L, Nigel Shadbolt and others in the Linked Data community.
>>> After all, Metaweb's Freebase team is just 3 blocks away.
>>>
>>>
>>>  Raffi,
>
> Is is a Wiki or some other publicly accessible shared document space where
> the What, Why, and How of Twitter's Structured Annotations is being
> developed?


there will be soon!  taylor and i will work on getting a page up.

-- 
Raffi Krikorian
Twitter Platform Team
http://twitter.com/raffi


-- 
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


Re: [twitter-dev] Re: Early look at Annotations

2010-04-20 Thread M. Edward (Ed) Borasky
On 04/19/2010 11:21 PM, Raffi Krikorian wrote:
> Not to be glib, but they are more than welcome to join in on the
> conversation in the community.  We plan to let the community really
> drive this one.

Yes, but, for example, is Sir Tim Berners-Lee even *on* Twitter? I know
Marshall Kirkpatrick is, but he's a journalist, not a standards-maker.

Of course, there are *lots* of people I'd like to see on Twitter.

http://borasky-research.net/2010/04/18/the-top-ten-people-who-should-be-on-twitter-but-arent/
> 
> 
> 
> On Apr 19, 2010, at 8:06 PM, R_Macdonald 
> wrote:
> 
>> ReadWriteWebs's Co-Editor, Marshall Kirkpatrick, suggests today that
>> Twitter intends to leave the annotation classification system to be
>> determined by the market.
>> http://bit.ly/csK8Od
>>
>> Although I appreciate that Twitter values keeping the annotation
>> ecosystem open for innovation and adaptation, I hope the conversation
>> on Linked Data metadata standards within Twitter annotations is just
>> beginning.
>>
>> It could be an historic lost opportunity if the hard driving Twitter
>> team doesn’t step back and consider soliciting the counsel of the W3C,
>> Sir TB-L, Nigel Shadbolt and others in the Linked Data community.
>> After all, Metaweb's Freebase team is just 3 blocks away.
>>
>>
>> -- 
>> Subscription settings:
>> http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
> 
> 


-- 
M. Edward (Ed) Borasky
borasky-research.net/m-edward-ed-borasky

"A mathematician is a device for turning coffee into theorems." ~ Paul Erdős


Re: [twitter-dev] Retweet Anywhere for WordPress

2010-04-20 Thread Abraham Williams
Interesting. I took a slightly different approach of embedded the Tweet Box
on my blog and pre-filling it with the title and a shortened URL.

http://the.hackerconundrum.com/

Abraham

On Tue, Apr 20, 2010 at 08:29, kovshenin  wrote:

> Hey all. I've been working on this little plugin for WordPress that's
> supposed to kind of act like Tweetmeme, but a little bit more branded
> and doesn't actually show the number of retweets, maybe that's a
> drawback, but hey, I wouldn't like to show 0 retweets ;)
>
> Anyway, the snippet works with jQuery and Facebox, you can see it in
> action on http://kovshenin.com in each blog post. I used the original
> @Anywhere "Follow @.." button but wrote Retweet (is that against the
> law?).
>
> I was just wondering what your thoughts are. Is this useful or is this
> yet another crappy parody on tweetmeme? I haven't released the plugin
> public yet, but you'll be able to tweak the url shortener, tweet
> format, etc.
>
> Any feedback is appreciated. Thanks!
>
> ~ K
>
>
> --
> Subscription settings:
> http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>



-- 
Abraham Williams | Developer for hire | http://abrah.am
PoseurTech Labs | Projects | http://labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.


Re: [twitter-dev] Re: xauth error -1012

2010-04-20 Thread Josh Bleecher Snyder
> Yes, a...@twitter.com granted my app for xAuth...
> Any suggestion on what I should do to fix the issue?
> I did all I can and I'm STUCK at the point.

A little easy googling (for "NSURLErrorDomain error 1012") turned up
http://stackoverflow.com/questions/501231/can-i-use-nsurlcredentialstorage-for-http-basic-authentication,
which might be helpful for you.

Also, again, some very easy searching in the Xcode docs yields
NSURLErrorDomain error -1012 as:

NSURLErrorUserCancelledAuthentication
Returned when an asynchronous request for authentication is cancelled
by the user.
This is typically incurred by clicking a “Cancel” button in a
username/password dialog, rather than the user making an attempt to
authenticate.

So it looks like you're getting an auth request in the http response
and you're not handling it correctly / at all. So either the auth
request is incorrect -- in which case you should probably post the
full http request and response to this list -- or you need to handle
it. (If you don't know how to handle it, and you can't figure it out
from the docs, it's probably a question better suited for an iPhone
dev list.)

-josh




> On Apr 20, 1:27 pm, Taylor Singletary 
> wrote:
>> Hi Sae,
>>
>> Have you received approval for using xAuth in your application yet by
>> emailing a...@twitter.com ? I'm not familiar enough with Objective-C to
>> understand the error, but your signature base string and authorization
>> header look otherwise correct on first glance.
>>
>> Taylor Singletary
>> Developer Advocate, Twitterhttp://twitter.com/episod
>>
>>
>>
>> On Tue, Apr 20, 2010 at 1:13 PM, sae  wrote:
>> > Hi,
>> > I just set up my application for xauth and started testing.
>> > It keeps failing with error message:
>>
>> > Error Domain=NSURLErrorDomain Code=-1012 UserInfo=0x268d70 "Operation
>> > could not be completed. (NSURLErrorDomain error -1012.)
>>
>> > What is this error?  Is anything wrong with my app setting, or my
>> > parameter  may not be correct?
>> > Any clue will be really appreciated...
>>
>> > Here is the copy of signature-base-string and authorization header,
>> > which all look ok to me:
>>
>> > POST&https%3A%2F%2Fapi.twitter.com%2Foauth
>> > %2Faccess_token&oauth_consumer_key%3Dxx%26oauth_nonce
>> > %3D684B1D0C-4276-47BD-9A43-C31FDDD0DD8A%26oauth_signature_method
>> > %3DHMAC-SHA1%26oauth_timestamp%3D1271708678%26oauth_version
>> > %3D1.0%26x_auth_mode%3Dclient_auth%26x_auth_password%3Dxx
>> > %26x_auth_username%3Dy
>>
>> > OAuth realm=\"\",
>> > oauth_consumer_key=\"\",
>> > oauth_signature_method=\"HMAC-SHA1\",
>> > oauth_signature=\"rg5s%2BW8wMxSx5MJt0wV3idqjriI%3D\",
>> > oauth_timestamp=\"1271708678\",
>> > oauth_nonce=\"684B1D0C-4276-47BD-9A43-C31FDDD0DD8A\",
>> > oauth_version=\"1.0\";
>>
>> > --
>> > Subscription settings:
>> >http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>


Re: [twitter-dev] Retweet Anywhere for WordPress

2010-04-20 Thread M. Edward (Ed) Borasky
On 04/20/2010 08:29 AM, kovshenin wrote:
> Hey all. I've been working on this little plugin for WordPress that's
> supposed to kind of act like Tweetmeme, but a little bit more branded
> and doesn't actually show the number of retweets, maybe that's a
> drawback, but hey, I wouldn't like to show 0 retweets ;)
> 
> Anyway, the snippet works with jQuery and Facebox, you can see it in
> action on http://kovshenin.com in each blog post. I used the original
> @Anywhere "Follow @.." button but wrote Retweet (is that against the
> law?).
> 
> I was just wondering what your thoughts are. Is this useful or is this
> yet another crappy parody on tweetmeme? I haven't released the plugin
> public yet, but you'll be able to tweak the url shortener, tweet
> format, etc.
> 
> Any feedback is appreciated. Thanks!
> 
> ~ K
> 
> 
I had both the Topsy and TweetMeme "retweet" button plugins on my
WordPress site, but I took the TweetMeme one off. I forget why,
actually. In general, though, I'm starting to become a minimalist when
it comes to WordPress plugins. My traffic monitor (GetClicky.com) is a
must-have, and I've put a Twitoaster widget up and I installed
TwitConnect to get @anywhere.

But I'm not seeing a whole lot of activity from *vistors* for all the
other conveniences, like my Topsy retweet button or Add To Any. I'm
pretty much the only one promoting my blog, in other words. ;-) Most of
my traffic comes from my own tweets or when I post my own links to
DZone, StumbleUpon or Reddit. And I get almost nothing from search.

Speaking of WordPress and @anywhere, I spotted this today:

http://www.wpbeginner.com/wp-tutorials/how-to-add-twitter-anywhere-in-wordpress/

It's not all that hard to do @anywhere in raw code, it seems.

-- 
M. Edward (Ed) Borasky
borasky-research.net/m-edward-ed-borasky

"A mathematician is a device for turning coffee into theorems." ~ Paul Erdős


-- 
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


Re: [twitter-dev] Re: Can't get @Anywhere to respond

2010-04-20 Thread Abraham Williams
I just tried it and it worked an created a valid access token. You might be
having cookie issues or rate limit issues now.

On Tue, Apr 20, 2010 at 19:21, Joe Taylor  wrote:

> K, I fixed the ID issue, and made it so the JS only calls
> T("#authLogin_4").connectButton({ size: "large" });
>
> Still no go. But best to clean everything up.
>
> -Joe
>
> On Apr 20, 7:08 pm, Abraham Williams <4bra...@gmail.com> wrote:
> > Perhaps it is because there are several divs with the id "loginAuth"? You
> > should only ever have a single id once per page.
> >
> > Abraham
> >
> >
> >
> > On Tue, Apr 20, 2010 at 19:04, Joe Taylor 
> wrote:
> > > All of a sudden the iFrame isn't showing now either I'm at a loss
> > > of what to do.
> >
> > > -Joe
> >
> > > On Apr 20, 6:04 pm, Joe Taylor  wrote:
> > > > I have registered the application and received the API Key. I believe
> > > > I am doing the code right, but I can't get even the simplest
> > > > implementation of @Anywhere to work on the site.
> >
> > > >http://www.tweettrakr.com/jmt3
> >
> > > > There should be a oAuth connect button in the far right pane. It
> > > > creates an iframe in the div, with the right size but there is no
> info
> > > > in the frame container.
> >
> > > > This is the only implementation I have found to have any affect on
> the
> > > > div at all, most others result in nothing happening.
> >
> > > > Any help would be greatly appreciated.
> >
> > > > -Joe
> >
> > > > --
> > > > Subscription settings:
> > >http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
> >
> > --
> > Abraham Williams | Developer for hire |http://abrah.am
> > PoseurTech Labs | Projects |http://labs.poseurtech.com
> > This email is: [ ] shareable [x] ask first [ ] private.
>



-- 
Abraham Williams | Developer for hire | http://abrah.am
PoseurTech Labs | Projects | http://labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Re: Can't get @Anywhere to respond

2010-04-20 Thread Joe Taylor
K, I fixed the ID issue, and made it so the JS only calls
T("#authLogin_4").connectButton({ size: "large" });

Still no go. But best to clean everything up.

-Joe

On Apr 20, 7:08 pm, Abraham Williams <4bra...@gmail.com> wrote:
> Perhaps it is because there are several divs with the id "loginAuth"? You
> should only ever have a single id once per page.
>
> Abraham
>
>
>
> On Tue, Apr 20, 2010 at 19:04, Joe Taylor  wrote:
> > All of a sudden the iFrame isn't showing now either I'm at a loss
> > of what to do.
>
> > -Joe
>
> > On Apr 20, 6:04 pm, Joe Taylor  wrote:
> > > I have registered the application and received the API Key. I believe
> > > I am doing the code right, but I can't get even the simplest
> > > implementation of @Anywhere to work on the site.
>
> > >http://www.tweettrakr.com/jmt3
>
> > > There should be a oAuth connect button in the far right pane. It
> > > creates an iframe in the div, with the right size but there is no info
> > > in the frame container.
>
> > > This is the only implementation I have found to have any affect on the
> > > div at all, most others result in nothing happening.
>
> > > Any help would be greatly appreciated.
>
> > > -Joe
>
> > > --
> > > Subscription settings:
> >http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>
> --
> Abraham Williams | Developer for hire |http://abrah.am
> PoseurTech Labs | Projects |http://labs.poseurtech.com
> This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Re: Can't get @Anywhere to respond

2010-04-20 Thread Joe Taylor
That is a good point I will troubleshoot that right now.



On Apr 20, 7:08 pm, Abraham Williams <4bra...@gmail.com> wrote:
> Perhaps it is because there are several divs with the id "loginAuth"? You
> should only ever have a single id once per page.
>
> Abraham
>
>
>
> On Tue, Apr 20, 2010 at 19:04, Joe Taylor  wrote:
> > All of a sudden the iFrame isn't showing now either I'm at a loss
> > of what to do.
>
> > -Joe
>
> > On Apr 20, 6:04 pm, Joe Taylor  wrote:
> > > I have registered the application and received the API Key. I believe
> > > I am doing the code right, but I can't get even the simplest
> > > implementation of @Anywhere to work on the site.
>
> > >http://www.tweettrakr.com/jmt3
>
> > > There should be a oAuth connect button in the far right pane. It
> > > creates an iframe in the div, with the right size but there is no info
> > > in the frame container.
>
> > > This is the only implementation I have found to have any affect on the
> > > div at all, most others result in nothing happening.
>
> > > Any help would be greatly appreciated.
>
> > > -Joe
>
> > > --
> > > Subscription settings:
> >http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>
> --
> Abraham Williams | Developer for hire |http://abrah.am
> PoseurTech Labs | Projects |http://labs.poseurtech.com
> This email is: [ ] shareable [x] ask first [ ] private.


Re: [twitter-dev] Re: Can't get @Anywhere to respond

2010-04-20 Thread Abraham Williams
Perhaps it is because there are several divs with the id "loginAuth"? You
should only ever have a single id once per page.

Abraham

On Tue, Apr 20, 2010 at 19:04, Joe Taylor  wrote:

> All of a sudden the iFrame isn't showing now either I'm at a loss
> of what to do.
>
> -Joe
>
>
> On Apr 20, 6:04 pm, Joe Taylor  wrote:
> > I have registered the application and received the API Key. I believe
> > I am doing the code right, but I can't get even the simplest
> > implementation of @Anywhere to work on the site.
> >
> > http://www.tweettrakr.com/jmt3
> >
> > There should be a oAuth connect button in the far right pane. It
> > creates an iframe in the div, with the right size but there is no info
> > in the frame container.
> >
> > This is the only implementation I have found to have any affect on the
> > div at all, most others result in nothing happening.
> >
> > Any help would be greatly appreciated.
> >
> > -Joe
> >
> > --
> > Subscription settings:
> http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>



-- 
Abraham Williams | Developer for hire | http://abrah.am
PoseurTech Labs | Projects | http://labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Re: Can't get @Anywhere to respond

2010-04-20 Thread Joe Taylor
All of a sudden the iFrame isn't showing now either I'm at a loss
of what to do.

-Joe


On Apr 20, 6:04 pm, Joe Taylor  wrote:
> I have registered the application and received the API Key. I believe
> I am doing the code right, but I can't get even the simplest
> implementation of @Anywhere to work on the site.
>
> http://www.tweettrakr.com/jmt3
>
> There should be a oAuth connect button in the far right pane. It
> creates an iframe in the div, with the right size but there is no info
> in the frame container.
>
> This is the only implementation I have found to have any affect on the
> div at all, most others result in nothing happening.
>
> Any help would be greatly appreciated.
>
> -Joe
>
> --
> Subscription 
> settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


Re: [twitter-dev] Can our twitter app call "/oauth/revoke"?

2010-04-20 Thread Abraham Williams
There is no oauth/revoke method. Personally I don't see much utility in one
except for keeping /settings/connections less cluttered.

Abraham

On Tue, Apr 20, 2010 at 18:15, Robbie Coleman  wrote:

> I do not see it documented, and dev.twitter.com/doc is throwing 403's on
> searches, but I do see that your own "
> http://twitter.com/settings/connections"; "Revoke Access" links call this
> on the click event.
>
> I am trying to provide our users a clean UI for managing all of their OAuth
> enabled networks/sites, and twitter is one of those. Both Facebook and
> Google (their OAuth contact API) provide API calls to revoke a user's
> access_token/session_key.
>
> Thanks,
> Robbie Coleman
> Software Cleric & Social Shaman
> Gravity
>
>


-- 
Abraham Williams | Developer for hire | http://abrah.am
PoseurTech Labs | Projects | http://labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.


-- 
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Can't get @Anywhere to respond

2010-04-20 Thread Joe Taylor
I have registered the application and received the API Key. I believe
I am doing the code right, but I can't get even the simplest
implementation of @Anywhere to work on the site.

http://www.tweettrakr.com/jmt3

There should be a oAuth connect button in the far right pane. It
creates an iframe in the div, with the right size but there is no info
in the frame container.

This is the only implementation I have found to have any affect on the
div at all, most others result in nothing happening.

Any help would be greatly appreciated.

-Joe


-- 
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Re: xauth error -1012

2010-04-20 Thread sae
Yes, a...@twitter.com granted my app for xAuth...
Any suggestion on what I should do to fix the issue?
I did all I can and I'm STUCK at the point.
This xauth issue is holding back the release of my app for a week :(
-Sae


On Apr 20, 1:27 pm, Taylor Singletary 
wrote:
> Hi Sae,
>
> Have you received approval for using xAuth in your application yet by
> emailing a...@twitter.com ? I'm not familiar enough with Objective-C to
> understand the error, but your signature base string and authorization
> header look otherwise correct on first glance.
>
> Taylor Singletary
> Developer Advocate, Twitterhttp://twitter.com/episod
>
>
>
> On Tue, Apr 20, 2010 at 1:13 PM, sae  wrote:
> > Hi,
> > I just set up my application for xauth and started testing.
> > It keeps failing with error message:
>
> > Error Domain=NSURLErrorDomain Code=-1012 UserInfo=0x268d70 "Operation
> > could not be completed. (NSURLErrorDomain error -1012.)
>
> > What is this error?  Is anything wrong with my app setting, or my
> > parameter  may not be correct?
> > Any clue will be really appreciated...
>
> > Here is the copy of signature-base-string and authorization header,
> > which all look ok to me:
>
> > POST&https%3A%2F%2Fapi.twitter.com%2Foauth
> > %2Faccess_token&oauth_consumer_key%3Dxx%26oauth_nonce
> > %3D684B1D0C-4276-47BD-9A43-C31FDDD0DD8A%26oauth_signature_method
> > %3DHMAC-SHA1%26oauth_timestamp%3D1271708678%26oauth_version
> > %3D1.0%26x_auth_mode%3Dclient_auth%26x_auth_password%3Dxx
> > %26x_auth_username%3Dy
>
> > OAuth realm=\"\",
> > oauth_consumer_key=\"\",
> > oauth_signature_method=\"HMAC-SHA1\",
> > oauth_signature=\"rg5s%2BW8wMxSx5MJt0wV3idqjriI%3D\",
> > oauth_timestamp=\"1271708678\",
> > oauth_nonce=\"684B1D0C-4276-47BD-9A43-C31FDDD0DD8A\",
> > oauth_version=\"1.0\";
>
> > --
> > Subscription settings:
> >http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Re: Does @anywhere follow buttons count towards api limits?

2010-04-20 Thread Albert Stein
Thank you for the reply - should I apply for whitelist status in that
case?

I don't think I need 20,000 - just something more than whatever is the
max now - so my customers (and yours) don't get hit with errors.



On Apr 20, 10:18 am, Taylor Singletary 
wrote:
> The same IP-based rate limits that apply on Twitter.com apply with @Anywhere
> integrations. Your web browser is essentially the client with @Anywhere, not
> the originating site, so if you're on a shared network that Twitter would
> see as a single IP address and there's a lot of accessing of @Anywhere
> content on that IP address, you'll likely run into rate limiting of some
> kind. We're looking at ways in the short term to make this more flexible
> without compromising the point of rate limiting.
>
> Taylor Singletary
> Developer Advocate, Twitterhttp://twitter.com/episod
>
>
>
> On Mon, Apr 19, 2010 at 7:54 PM, Albert Stein  wrote:
> > Ok, really need some feedback from Twitter here...
>
> > Some of my customers (and me) are getting the follow buttons - and
> > then after a few page refreshes, we get the button that says xyz is
> > not found and then another refresh and we get nothing at all. We are
> > showing 10-15 follow buttons on a page.
>
> > So are we hitting the api limits? There is no talk on the anywhere
> > documentation that it uses limits so I am unsure.
>
> > Thanks for any help.
>
> > --
> > Subscription settings:
> >http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Re: Public Timeline Frozen

2010-04-20 Thread mattarnold1977
Taylor,

I just remembered that you were planning to change the generation of
status ids.  Has that already occurred?  If so, where is the
documentation on that again?

-Matt

On Apr 20, 10:14 am, Taylor Singletary 
wrote:
> Hi Matt,
>
> I'm not able to see the issue at the moment -- can you provide some more
> details like examples of duplicate status ids? The public_timeline endpoint
> is cached for 60 seconds, so it will remain stagnant if you're requesting it
> more often than that.
>
> Taylor Singletary
> Developer Advocate, Twitterhttp://twitter.com/episod
>
> On Tue, Apr 20, 2010 at 4:44 AM, mattarnold1977
> wrote:
>
>
>
> > It looks like the public timeline api is reporting the same statuses
> > over-and-over again.  This started sometime yesterday (4/19) and
> > continues today.  Is anyone else experiencing this issue?
>
> > Thanks,
> > Matt
>
> > --
> > Subscription settings:
> >http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Can our twitter app call "/oauth/revoke"?

2010-04-20 Thread Robbie Coleman
I do not see it documented, and dev.twitter.com/doc 
is throwing 403's on searches, but I do see that your own 
"http://twitter.com/settings/connections"; "Revoke Access" links call this on 
the click event.

I am trying to provide our users a clean UI for managing all of their OAuth 
enabled networks/sites, and twitter is one of those. Both Facebook and Google 
(their OAuth contact API) provide API calls to revoke a user's 
access_token/session_key.

Thanks,
Robbie Coleman
Software Cleric & Social Shaman
Gravity



-- 
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


Re: [twitter-dev] How to end user session?

2010-04-20 Thread Abraham Williams
You can add send users to
https://twitter.com/oauth/authenticate?oauth_token=xyz&force_login=true(notice
the &force_login=true) to have users always prompted for username
and password on twitter.com.

http://apiwiki.twitter.com/Twitter-REST-API-Method:-oauth-authenticate


Abraham

On Tue, Apr 20, 2010 at 12:48, Jonathon Hill  wrote:

> Hello,
>
> I'm building an app that uses OAuth for registration and
> authentication. Is there any way to log an authenticated user out of
> twitter, so that he/she can log in with a different twitter account?
>
> Calling the REST endpoint /account/end_session.json doesn't work.
>
> Thanks,
>
> Jonathon Hill
>
> Company52
> http://company52.com
> @compwright
>
>
> --
> Subscription settings:
> http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>



-- 
Abraham Williams | Developer for hire | http://abrah.am
PoseurTech Labs | Projects | http://labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.


Re: [twitter-dev] Streaming API OAuth explanation?

2010-04-20 Thread Taylor Singletary
In the current incarnation, you don't need a registered application to use
the streaming API -- just a valid username and password to access the
endpoints.

While we don't know what the OAuth-based authentication is going to look
like in the future of authenticating with the streaming API, we do know that
using a username and password won't be tenable for long.

Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod


On Tue, Apr 20, 2010 at 3:44 PM, Dima Brodsky  wrote:

> Hi,
>
> Question about oauth registration ... do I register the user ID I currently
> use at the same place as all other apps, i.e.
> http://dev.twitter.com/apps/new, or is there another endpoint for the
> streaming api?
>
> Thanks!
> ttyl
> Dima
>
>
> On Tue, Apr 20, 2010 at 10:17 AM, Taylor Singletary <
> taylorsinglet...@twitter.com> wrote:
>
>> Hi Jonathon,
>>
>> For Streaming API access that isn't from the perspective of a user's
>> account, you would use two-legged OAuth to establish authentication instead
>> of basic auth.
>>
>> A two-legged OAuth request is very similar to other OAuth requests: you
>> have a specific resource you are trying to access, you have some parameters
>> you want to pass to that resource, and you have an OAuth consumer key and
>> OAuth consumer secret. Which is unlike three-legged OAuth where you also
>> have oauth_tokens representing either a user/access_token or a request token
>> in addition to the rest.
>>
>> But the rules remain the same. You take all the OAuth parameters and the
>> parameters you are sending to the resource, organize them, build a signature
>> base string, then sign that with your consumer secret and send the request
>> on to Twitter properly signed. The only difference is that there is no
>> oauth_token and oauth_token_secret getting involved in the mix.
>>
>> This is essentially what a two-legged request to the streaming API would
>> look like:
>>
>> Signature Base String
>> GET&http%3A%2F%2Fstream.twitter.com
>> %2F1%2Fstatuses%2Fsample.json&oauth_consumer_key%3Dri8JxYK2zzwSV5xIUfNNvQ%26oauth_nonce%3DSJJqJPdaZrYuIogToapS6ueJRyWB4Rs2ox4HEbu4nW8%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1271783743%26oauth_version%3D1.0
>>
>> Signature
>> Xi5jfuw2XqtU5KpNX9ZCtTptJS0=
>>
>> Authorization Header
>> OAuth oauth_nonce="SJJqJPdaZrYuIogToapS6ueJRyWB4Rs2ox4HEbu4nW8",
>> oauth_signature_method="HMAC-SHA1", oauth_timestamp="1271783743",
>> oauth_consumer_key="ri8JxYK2zzwSV5xIUfNNvQ",
>> oauth_signature="Xi5jfuw2XqtU5KpNX9ZCtTptJS0%3D", oauth_version="1.0"
>>
>> Taylor Singletary
>> Developer Advocate, Twitter
>> http://twitter.com/episod
>>
>>
>> On Tue, Apr 20, 2010 at 10:05 AM, Jonathon Hill wrote:
>>
>>> One thing I meant to find out @chirp last week--what will oauth look
>>> like for the Streaming API? I'm having a hard time visualizing how
>>> that will work.
>>>
>>> Thanks,
>>>
>>> Jonathon Hill
>>> @compwright
>>> Company52
>>> http://company52.com
>>>
>>>
>>> --
>>> Subscription settings:
>>> http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>>>
>>
>>
>


Re: [twitter-dev] Streaming API OAuth explanation?

2010-04-20 Thread Dima Brodsky
Hi,

Question about oauth registration ... do I register the user ID I currently
use at the same place as all other apps, i.e.http://dev.twitter.com/apps/new,
or is there another endpoint for the streaming api?

Thanks!
ttyl
Dima

On Tue, Apr 20, 2010 at 10:17 AM, Taylor Singletary <
taylorsinglet...@twitter.com> wrote:

> Hi Jonathon,
>
> For Streaming API access that isn't from the perspective of a user's
> account, you would use two-legged OAuth to establish authentication instead
> of basic auth.
>
> A two-legged OAuth request is very similar to other OAuth requests: you
> have a specific resource you are trying to access, you have some parameters
> you want to pass to that resource, and you have an OAuth consumer key and
> OAuth consumer secret. Which is unlike three-legged OAuth where you also
> have oauth_tokens representing either a user/access_token or a request token
> in addition to the rest.
>
> But the rules remain the same. You take all the OAuth parameters and the
> parameters you are sending to the resource, organize them, build a signature
> base string, then sign that with your consumer secret and send the request
> on to Twitter properly signed. The only difference is that there is no
> oauth_token and oauth_token_secret getting involved in the mix.
>
> This is essentially what a two-legged request to the streaming API would
> look like:
>
> Signature Base String
> GET&http%3A%2F%2Fstream.twitter.com
> %2F1%2Fstatuses%2Fsample.json&oauth_consumer_key%3Dri8JxYK2zzwSV5xIUfNNvQ%26oauth_nonce%3DSJJqJPdaZrYuIogToapS6ueJRyWB4Rs2ox4HEbu4nW8%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1271783743%26oauth_version%3D1.0
>
> Signature
> Xi5jfuw2XqtU5KpNX9ZCtTptJS0=
>
> Authorization Header
> OAuth oauth_nonce="SJJqJPdaZrYuIogToapS6ueJRyWB4Rs2ox4HEbu4nW8",
> oauth_signature_method="HMAC-SHA1", oauth_timestamp="1271783743",
> oauth_consumer_key="ri8JxYK2zzwSV5xIUfNNvQ",
> oauth_signature="Xi5jfuw2XqtU5KpNX9ZCtTptJS0%3D", oauth_version="1.0"
>
> Taylor Singletary
> Developer Advocate, Twitter
> http://twitter.com/episod
>
>
> On Tue, Apr 20, 2010 at 10:05 AM, Jonathon Hill wrote:
>
>> One thing I meant to find out @chirp last week--what will oauth look
>> like for the Streaming API? I'm having a hard time visualizing how
>> that will work.
>>
>> Thanks,
>>
>> Jonathon Hill
>> @compwright
>> Company52
>> http://company52.com
>>
>>
>> --
>> Subscription settings:
>> http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>>
>
>


Re: [twitter-dev] Tweetbox not tweeting

2010-04-20 Thread Taylor Singletary
Also, make sure that your application is capable of both read and write
access -- we have a deploy in queue that will make this easier to notice,
but in the mean time you can verify and toggle the setting at
http://twitter.com/oauth_clients/

Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod


On Tue, Apr 20, 2010 at 7:47 AM, Taylor Singletary <
taylorsinglet...@twitter.com> wrote:

> Hi Chaoskreator,
>
> I just tried the most simple example of setting up a Tweet box and was able
> to get the tweet sent to Twitter.com without issue. I don't see anything
> obviously wrong in your HTML. If you've "connected" the user, then I also
> assume that your callback URL specified in your application record
> corresponds to the subdomain and host of the server using @Anywhere.
>
> What happens when you try the simplest possible example in isolation of
> other Javascript? (no widgets, other frameworks, etc.) Determining that will
> give you a baseline to determine if it's an interaction with some other
> resource on your page in conflict.
>
> Taylor Singletary
> Developer Advocate, Twitter
> http://twitter.com/episod
>
>
>
> On Mon, Apr 19, 2010 at 10:12 PM, chaoskreator wrote:
>
>> Hello. I've been developing a Twitter modification for integration
>> with phpBB3. I've registered in Anywhere, set everything up and I'm
>> using the following code in the HTML header:
>>
>> 
>>
>> And this is the body:
>>
>> 
>>
>> 
>>
>> >>
>>> id="twitter-connect-placeholder"> >> >>
>>
>> >>
>> >>
>>
>> >> > > And this is the body: > > > >
>
> >
> id="twitter-connect-placeholder"> > >
>
> >
> >
>
> >