[twitter-dev] Re: Twitter credentials

2009-07-21 Thread Petermdenton


Raj,
You might also want to describe what you are trying to do, and some  
can help you to understand the way they do it.


Thanks
Peter

On Jul 21, 2009, at 9:32 PM, raj  wrote:



1.Is there any twitter api method (php) to get credentials both
username and password
2.How to use oauth_token returned in call back url, with this token is
there any way to get twitter credentials both username and password,
Thanks for your help in advance!


[twitter-dev] Re: Trying very hard to use OAuth - need help!

2009-07-08 Thread Petermdenton


Hey Echieo
You can ping me off the list and I can help you get something working.

On Jul 8, 2009, at 12:56 PM, Echieo  wrote:



I've been over his example but it doesn't explain how to use oauth,
only how to use his library. I'm having trouble figuring out what to
send via curl to twitter to create my own. I could always use his
library but I'd like to create one myself. I've been trying to
deconstruct all of the objects he builds to set up his curl string but
no luck yet.

On Jul 8, 3:34 pm, Doug Williams  wrote:
Abraham Williams has a great PHP sample here that is simple and  
easy to use:http://twitter.abrah.am/


Thanks,
Doug



On Wed, Jul 8, 2009 at 12:25 PM, Echieo  wrote:


Hey everyone,


I'd really like to use OAuth for my new twitter application, as I  
know
Twitter is trying to move in that direction, but I can't for the  
life

of me figure out how. I've been over the wiki documentation and I
understand the theory but have no idea how to implement it. I see
there are several libraries out there but they are all very complex.



Can someone give me a simple PHP example what to do with my consumer
key and consumer secret? I can't find a clear explanation of oauth
syntax anywhere. How do I actually send the request?



Attempting to be compliant,
Echieo


[twitter-dev] Re: "I don't get it." What my usability test of six first-time Twitter users revealed

2009-06-30 Thread Petermdenton


Thanks for posting this!

On Jun 30, 2009, at 11:08 AM, neicole  wrote:



Posted the results of a small usability study I did, observing six new
or first-time users as they navigated Twitter. I found the results
very interesting. They may suggest some areas for innovation. Hope you
find them useful.

http://bit.ly/3qwmYL


[twitter-dev] Re: oauth_callback parameter

2009-06-21 Thread Petermdenton


Cool! Thanks for the reply.

On Jun 21, 2009, at 12:24 AM, Abraham Williams <4bra...@gmail.com>  
wrote:




The bad news: Currently there is no way of doing this without editing
the library to send oauth_callback with the initial request/etc.
The goood news: I'm almost done with a new version that supports  
oauth_callback.


Abraham


On Wed, Jun 17, 2009 at 16:53, Peter Denton  
wrote:

Hey,
Can a few PHP people using Abraham's oAuth code share some ways  
they are

dealing with dynamic oauth_callback parameter?
I am having issues getting users back to specific locations on my  
site after

oAuth and would love some input.

Thanks
Peter






--
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Re: whitelist site -- horror story

2009-06-18 Thread Petermdenton


Well if you are getting, it should reset every hour, so if there is  
some debugging available there. Also there is a method in the api for  
seeing your limit status, although I have had inconsistent results there





On Jun 18, 2009, at 8:46 PM, markanson  wrote:



I have a site that is whitelisted but it is only making about a
hundred API calls each day (it is in development)  and everything was
working fine until today

Suddenly, when any of the applications I have built call the Twitter
API  the API returns this:




400 Bad Request

Bad Request
Your browser sent a request that this server could not
understand.



The weird thing is, sometimes it returns proper results. But if I try
to refresh or repeat the request a minute later, the same 400 error
message returns.

I am certain that the code I have written is valid, as it was all
working properly for over a month and only started showing problems
today.

What is happening  is really worrying for me because I have spent 4
months developing Twitter based application and now things are all
falling apart for no apparent reason.

The site is here
http://nowww.us/ but I have blocked all debugging information so you
won't see errors in the main search form.

But an example for developers to examine,  I have made a page that
demonstrates the problem and displays some error details:
http://nowww.us/twitter-search.php?q=food&submit=Search

can someone help me please? This is a really messing up my brain and I
can't see what I can do.

mark




[twitter-dev] Re: Getting users profile from their username

2009-06-18 Thread Petermdenton
Yeah, oAuth is the way to go. However, if you just want to grab some  
data, you can use the curl function below and the username and  
password are your credentials, not the users who profile you want to  
see.



On Jun 18, 2009, at 5:46 PM, JDG  wrote:


OAuth :)

On Thu, Jun 18, 2009 at 18:38, Slicey  wrote:

Thanks, is there any way I would be able to do it without the
password?

On Jun 19, 12:53 am, Peter Denton  wrote:
> you can do something like this
>
>  function getUserInfo($screen_name)
>  {
>   $mas_username = 'YOURUSERNAME';
>   $mas_password = 'YOURPASSWORD';
>
>   $host = "http://twitter.com/users/show/$screen_name.xml";;
>   $ch = curl_init();
>   curl_setopt($ch, CURLOPT_URL, $host);
>   curl_setopt($ch, CURLOPT_HEADER, false);
>   curl_setopt($ch, CURLOPT_VERBOSE, 1);
>   curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
>   curl_setopt($ch, CURLOPT_USERPWD, "$mas_username:$mas_password");
>   curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
>   $result = curl_exec($ch);
>   $responseInfo=curl_getinfo($ch);
>   curl_close($ch);
>
>   $status_code = intval($responseInfo['http_code']);
>   switch($status_code) {
>case 200:
>  if (simplexml_load_string($result)) {
>   $xml = new SimpleXMLElement($result);
>  print_r($xml);
>  }
>break;
>   }
>  }
>
>
>
> On Thu, Jun 18, 2009 at 4:44 PM, Slicey  wrote:
>
> > I'm trying to create a clone of the users twitter page.
>
> > On Jun 19, 12:25 am, JDG  wrote:
> > > Maybe I'm missing something here, but can't you just create a  
link to "

> >http://twitter.com/$username"; ?
>
> > > On Thu, Jun 18, 2009 at 14:47, Slicey  wrote:
>
> > > > I'm currently building a site in PHP where a user enters their
> > > > username and uploads an audio clip to our site. Then the get  
a tiny
> > > > url where they can view their twitter profile with the audio  
clip on

> > > > it.
>
> > > > Is it possible to call a users profile by their username  
through php?

>
> > > --
> > > Internets. Serious business.
>
> --
> Peter M. Dentonwww.twibs.com
> i...@twibs.com
>
> Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c



--
Internets. Serious business.


[twitter-dev] OAuth and 3rd party apps

2009-06-06 Thread Petermdenton


Hello, wondering if the following scenario is possible with oAuth.

- I have mytwittersite.com
- A user authenticates with twitter through oauth on my site.
- user posts a pic to twitpic from my site using oauth tokens.

With basic auth, very easy to do but it doesn't seem like I can do a  
single sign on that can execute commands to other third party apps


[twitter-dev] Re: OAuth and screen name

2009-04-17 Thread Petermdenton
Yeah Matt's the Donald Trump of releases. He looks a task or bug,  
right in the eye, points:

"you're fired."

On Apr 17, 2009, at 4:19 PM, Doug Williams  wrote:

Matt has done an amazing job this week. Just want to throw it out  
there that I'm super impressed.


Now... to drop Sign in with Twitter around the web.

Doug Williams
Twitter API Support
http://twitter.com/dougw


On Fri, Apr 17, 2009 at 2:45 PM, Dossy Shiobara   
wrote:


On 4/17/09 5:28 PM, Matt Sanford wrote:
It's working fine for me, and it sounds like for Abraham as well.
Perhaps some more details about how you're calling it would help. Go
ahead and fill out a bug report [1] with the headers and whatnot and
I'll take a look.

Done!  Thanks.

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


--
Dossy Shiobara  | do...@panoptic.com | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
 "He realized the fastest way to change is to laugh at your own
   folly -- then you can let go and quickly move on." (p. 70)



[twitter-dev] Re: acceptable Profile Image Formats

2009-04-16 Thread Petermdenton


Maybe animated gifs

On Apr 16, 2009, at 8:46 PM, Cameron Kaiser   
wrote:




Yes, and going forward, even GIFs won't be allowed, though some  
remain

in our system.


Not that this makes much difference to TTYtter ;-) but I'm curious  
why.


--
 personal: http://www.cameronkaiser.com/ 
 --

 Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Had this been an actual emergency, we would have fled already.  
-


[twitter-dev] Re: Oauth application directory

2009-04-11 Thread Petermdenton
Actually if everyone is open to it , I was working on a site to  
showcase developers and apps, more for devs than consumers. Would  
anyone want such a thing?



On Apr 11, 2009, at 1:22 PM, Abraham Williams <4bra...@gmail.com> wrote:


You can always start an unofficial one on http://twitter.pbwiki.com

On Sat, Apr 11, 2009 at 13:56, Alex Payne  wrote:

Not yet, but soon!

On Sat, Apr 11, 2009 at 07:17, Alberto Bajo   
wrote:

>
> Hi guys,
>
> Is there any list or directory with applications implementing OAuth?
>
> Thanks :)
>
> --
> Alberto Bajo
> alber...@ideateca.com
> http://filesocial.com
>



--
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x



--
Abraham Williams | http://the.hackerconundrum.com
Hacker | http://abrah.am | http://twitter.com/abraham
Web608 | Community Evangelist | http://web608.org
This email is: [ ] blogable [x] ask first [ ] private.
Sent from Madison, Wisconsin, United States


[twitter-dev] Settings/connections

2009-04-09 Thread Petermdenton

Hi Matt
I am still unable to access my connections tab to revoke priveldges  
and re-test, but the first part was working great.


Thanks
Peter

Sent from my iPhone

On Apr 9, 2009, at 5:32 PM, Matt Sanford  wrote:


Hi all,

The fix for this was just deployed. I'm updating the change log  
now and will send the standard announcement email.


Thanks;
  — Matt

On Apr 9, 2009, at 03:46 PM, Doug Williams wrote:


This is a bug and Matt is currently working on the fix.

Doug Williams
Twitter API Support
http://twitter.com/dougw


On Thu, Apr 9, 2009 at 3:04 PM, Pauly  wrote:

Just seen someone else twittering @twitterapi with a similar issue...
I try to post:

http://twitter.com/direct_messages/new.xml?user=foo567&text=Ticketmaster+UK%3A+16.00+%281779%29

and get back the following xml (removed a url). I am following this
user, if I try to direct message an account I'm not following I get
the expected error message. No direct message is sent in either case.
Anyone any idea? I'm posting but with a query string like this (using
curl in php), instead of actually posting the params, this is the  
only

way that works for me to update my status, so could be I'm doing
something odd there...



 
 19482771
 Come join me on Utterz! We can have multimedia discussions
from our mobile phone o...
Join at http://...
 13881572
 
 MasAdhie
 Pat_Lorna
 
   19482771
   Mas Adhie
   MasAdhie
   Semarang
   silahkan kontak sya di YM AdiSucipto atau SKYPE ID
MasAdhie
   http://s3.amazonaws.com/twitter_production/
profile_images/73051328/Johnny-Depp-and-Wajahku_normal.jpg
   http://www.100juta.co.cc
   false
   269
 
 
   13881572
   Pat and Lorna Shanks
   Pat_Lorna
   Edmonton, AB. Canada
   We teach entrepreneurs how to create, market and
monetize presentations for more prospects and profits.
   http://s3.amazonaws.com/twitter_production/
profile_images/65659291/sp_logo_300x300_normal.jpgprofile_image_url>

   http://PatAndLorna.com
   false
   14596
 






[twitter-dev] Re: Oauth button

2009-04-07 Thread Petermdenton

Cool. Thanks. Please let me know if anyone needs anything.

Regards
Peter

On Apr 7, 2009, at 8:31 AM, Doug Williams  wrote:


Well done Peter. I'll add a link in the Wiki shortly.

Doug Williams
Twitter API Support
http://twitter.com/dougw


On Tue, Apr 7, 2009 at 8:14 AM, Abraham Williams <4bra...@gmail.com>  
wrote:
Awesome work Peter! http://twitter.abrah.am is now using it and  
future releases of the code will include it too.


Abraham


On Tue, Apr 7, 2009 at 09:51, Ollie   
wrote:


Great work on the buttons. Will be using one of them on http://twitterleague.com 
.


Ollie

On Apr 7, 5:56 am, Peter Denton  wrote:
> Hello all,
> I have updated the oAuth Button set, per Doug's "Sign in with  
Twitter"

> standardization comments.
> They are available here.
>
> http://twibs.com/oAuthButtons.php
>
> Thanks,
> Peter
>
>
>
> On Mon, Apr 6, 2009 at 4:07 PM, Peter Denton  
 wrote:
> > Thanks Doug. I'll update the existing buttons for the correct  
verbiage.

>
> > Thanks,
> > Peer
>
> > On Mon, Apr 6, 2009 at 4:03 PM, Doug Williams   
wrote:

>
> >> Peter,
> >> They look great!
>
> >> We will be using "Sign in with Twitter" on all of our documents  
and

> >> graphics. That is the verbiage we recommend to standardize user
> >> experience.
>
> >> Thanks,
> >> Doug Williams
> >> Twitter API Support
> >>http://twitter.com/dougw
>
> >> On Mon, Apr 6, 2009 at 3:48 PM, Abraham Williams  
<4bra...@gmail.com>

> >> wrote:
> >> > Nice! I like the Soft ones. Not really a fan of the rollover  
though.

>
> >> > Abraham
>
> >> > On Mon, Apr 6, 2009 at 17:37, Peter Denton  


> >> wrote:
>
> >> >> Wanted to post some initial buttons for feedback. Working on
> >> few/several
> >> >> more.
> >> >>http://twibs.com/oAuthButtons.php
>
> >> >> rollover gifs and psd's are there for tweaking. Let me know  
what people

> >> >> think.
>
> >> >> On Mon, Apr 6, 2009 at 11:55 AM, Peter Denton  


> >> >> wrote:
>
> >> >>> Thanks Alex, will do. Actually trying to be considerate to  
all ui's so
> >> >>> creating a few options for size and color. Sorry, no matrix  
theme

> >> however.
>
> >> >>> On Mon, Apr 6, 2009 at 11:54 AM, Alex Payne  
 wrote:

>
> >>  Please post them to the list, Peter. If you can license  
them openly,
> >>  we'll make them available as a resource for all  
developers. With

> >>  accreditation to you, of course :)
>
> >>  On Mon, Apr 6, 2009 at 09:50, Peter Denton  


> >>  wrote:
> >>  > I am actually working on a nice button set for this. Ill  
send them

> >> to
> >>  > you
> >>  > when I complete.
>
> >>  > On Mon, Apr 6, 2009 at 4:23 AM, Alberto Bajo <
> >> albertob...@gmail.com>
> >>  > wrote:
>
> >>  >> Is there any button similar to "Facebook connect"? (
> >>http://spedr.com/
> >>  >> rze1)
>
> >>  >> Otherwise, are there any plans for that?
>
> >>  >> Thanks :)
>
> >>  > --
> >>  > Peter M. Denton
> >>  >www.twibs.com
> >>  > i...@twibs.com
>
> >>  > Twibs makes Top 20 apps on Twitter -http://tinyurl.com/ 
bopu6c

>
> >>  --
> >>  Alex Payne - API Lead, Twitter, Inc.
> >> http://twitter.com/al3x
>
> >> >>> --
> >> >>> Peter M. Denton
> >> >>>www.twibs.com
> >> >>> i...@twibs.com
>
> >> >>> Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c
>
> >> >> --
> >> >> Peter M. Denton
> >> >>www.twibs.com
> >> >> i...@twibs.com
>
> >> >> Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c
>
> >> > --
> >> > Abraham Williams | Hacker |http://abrah.am
> >> > @poseurtech |http://the.hackerconundrum.com
> >> > Web608 | Community Evangelist |http://web608.org
> >> > This email is: [ ] blogable [x] ask first [ ] private.
> >> > Sent from Madison, WI, United States
>
> > --
> > Peter M. Denton
> >www.twibs.com
> > i...@twibs.com
>
> > Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c
>
> --
> Peter M. Dentonwww.twibs.com
> i...@twibs.com
>
> Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c



--
Abraham Williams | Hacker | http://abrah.am
@poseurtech | http://the.hackerconundrum.com
Web608 | Community Evangelist | http://web608.org
This email is: [ ] blogable [x] ask first [ ] private.
Sent from Madison, WI, United States



[twitter-dev] Re: Which services use twitter username and password as account identifier

2009-03-01 Thread Petermdenton


Dossy, serioulsy, no one is saying the sky is falling. This list is  
for application developers to discuss development topics as they  
please. You may know everything, but for those of us who wish to discuss


Sent from my iPhone

On Mar 1, 2009, at 10:19 AM, Dossy Shiobara  wrote:



On 3/1/09 9:19 AM, Paul Kinlan wrote:
I look forward to hearing back and seeing a list of all the  
services in
the ecosystem that use twitter credentials as account  
authentication and

validation so that it is clear the how prevelant the problem will be.


It should be a non-problem.  Application developers will simply need  
to implement, in their application, a way for Twitter users to link  
their current account to their Twitter account through OAuth.


The sky, indeed, is not falling.

--
Dossy Shiobara  | do...@panoptic.com | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
 "He realized the fastest way to change is to laugh at your own
   folly -- then you can let go and quickly move on." (p. 70)


[twitter-dev] Re: Which services use twitter username and password as account identifier

2009-03-01 Thread Petermdenton


Also www.twibs.com uses the api authentication as the user login and  
relies heavily on it for a variety of things.


On Mar 1, 2009, at 6:19 AM, Paul Kinlan  wrote:



Hi,

I am still concerned that the introduction of oAuth is going to  
cause a lot of problems for applications that use twitter username  
and password as a login and account registration mechanism for their  
services.


I would like to start a list of the services that primariraly use  
twitter details as a form of login to their services.


Starting with:
Twe2 (although we do support oauth right now)
Twollo

What I am keen to also get accross is that if we have to introduce a  
new username and password mechanism for our services I bet that 80%  
of users will still use the same password as their twitter account,  
negating the use of oauth.


If anyone wants I can provide you with a secret link for twe2's  
oauth implementation to show you what we are doing (no username and  
password - but re-requesting access to your data if you need to  
login).


I look forward to hearing back and seeing a list of all the services  
in the ecosystem that use twitter credentials as account  
authentication and validation so that it is clear the how prevelant  
the problem will be.


Regards,
Paul




[twitter-dev] Re: Which services use twitter username and password as account identifier

2009-03-01 Thread Petermdenton


Say I'm twitpic, does OAuth mean a user is going to have to make that  
awkward round trip to sign up?


And does recurring login mean apps are going to have to store  
credentials?


I'm just curious.

On Mar 1, 2009, at 6:19 AM, Paul Kinlan  wrote:



Hi,

I am still concerned that the introduction of oAuth is going to  
cause a lot of problems for applications that use twitter username  
and password as a login and account registration mechanism for their  
services.


I would like to start a list of the services that primariraly use  
twitter details as a form of login to their services.


Starting with:
Twe2 (although we do support oauth right now)
Twollo

What I am keen to also get accross is that if we have to introduce a  
new username and password mechanism for our services I bet that 80%  
of users will still use the same password as their twitter account,  
negating the use of oauth.


If anyone wants I can provide you with a secret link for twe2's  
oauth implementation to show you what we are doing (no username and  
password - but re-requesting access to your data if you need to  
login).


I look forward to hearing back and seeing a list of all the services  
in the ecosystem that use twitter credentials as account  
authentication and validation so that it is clear the how prevelant  
the problem will be.


Regards,
Paul




Re: create friendship from URL, NON API Method?

2009-01-08 Thread Petermdenton


Thanks jazzy


On Jan 8, 2009, at 2:42 PM, "Chad Etzel"  wrote:



I don't think this is supported b/c friendship creation must be
initiated by a POST request, meaning that some deliberate action must
be taken on the part of the user (e.g. clicking a "Follow" button on
twitter's site).  I'm pretty sure this is intentional as it was
changed to act this way to prevent automatic follow spamming that was
occurring some time ago.

I think the best you can do is just point them to the user's profile
on twitter and hope that they login and click "follow".

-Chad

On Thu, Jan 8, 2009 at 5:35 PM, Peter Denton  
 wrote:

Hello,
I have a third party site and want to connect twitter users. I am  
not having

them authenticate, its more of a listing service.

Say I have a button that says "follow" by a profile on my site, and  
I want
to just point at a URL on twitter that would create a friendship  
after they

log in on twitter.

So again, 1. I am on the third party site, 2. I click a link  
pointing at
some URL like http://twitter.com/friendships/create/al3x, 3. I  
login to
twitter on twitter.com and 4. I am now on twitter and a friendship  
has

occured

Thanks!



Re: A nice application

2008-12-26 Thread Petermdenton



You could build an application that stored birthdates in a sep db then  
used the twitter API to broadcast when the date occurred


On Dec 26, 2008, at 5:17 PM, "dumis.admarket...@gmail.com" > wrote:




Hello,

I would like to build an application where a twitter user can store
the birthday date of his friends. Is that possible using Twitter API ?