Hi George,

xAuth does accept email addresses. Your POST body by definition needs to be
URL-escaped, and when you generate your signature base string that means
that you'll be URL encoding those URL-encoded values again.

Example POST body:

Example base string:

Taylor Singletary
Developer Advocate, Twitter

On Tue, Apr 13, 2010 at 2:30 PM, George McBay <g...@funxed.com> wrote:

> I'm converting a twitter client from basic auth to xauth and
> everything is working fine except I have been unable to generate an
> oAuth token using xauth if the user attempts to sign in with an email
> address instead of their Twitter username.
> Is a Twitter user's email address a valid value for an xAuth
> x_auth_username parameter?  And if so, is there anything about the
> encoding that's odd?  I've tried the various obvious forms of HTTP
> value escaping but with no luck so far.
> It would be really nice to see something like the access_token page's
> Example Signature Base String that uses an email address (if that is
> even supported?) successfully.
> Thanks in advance.

To unsubscribe, reply using "remove me" as the subject.

Reply via email to