[wp-hackers] Twitter API and Authentication

Elizabeth Buckwalter elizabeth at slatetechpdx.com
Tue May 11 17:20:50 UTC 2010


On Tue, May 11, 2010 at 8:02 AM,
<wp-hackers-request at lists.automattic.com> wrote:

> ------------------------------
>
> Message: 5
> Date: Tue, 11 May 2010 09:41:23 -0500
> From: Otto <otto at ottodestruct.com>
> Subject: Re: [wp-hackers] Twitter API and Authentication
> To: wp-hackers at lists.automattic.com
> Message-ID:
>        <AANLkTinqQAQJZEnngozw18kSM21_Q1fFx2C7HwWaoRFX at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, May 11, 2010 at 9:11 AM, Lew Ayotte - Full Throttle
> Development <lew at fullthrottledevelopment.com> wrote:
>> Currently my application allows all authors to store their twitter
>> credentials in wordpress. Whenever a post is published it can tweet to all
>> the users (or just a single user) -- depending on how the admin has the
>> plugin setup. Requiring oAuth essentially kills my plugin. It will require
>> each user to create their own app in twitter. It may be easy for you and I
>> to do this, but I get tons of support requests from people who just didn't
>> type their user name in properly.
>
>
> Whoa.. Back up a second. I think you have the wrong idea.
>
> Define "users" in your context. If you mean "multiple users on a
> single website", then you are mistaken.
>
> Every website only needs ONE Twitter Application for it. The
> application is basically tied to a domain. Any user can then give that
> application permissions to publish as them.
>
> So your admin will create the app for his website, then the users of
> that instance will authorize the application to act on their behalf.
>
>
> -Otto
>
>

Unless you're using MU or the soon to be MS.  We're running into the
problem of do we want to have one twitter app for the main domain and
use those api keys across the site (which we have to copy and paste)
or do we want to create a twitter account and app for each subdomain?

We're using MU is an unconventional way though, using it to
encapsulate posts and languages.

-- 
Thanks,
Elizabeth Buckwalter


More information about the wp-hackers mailing list