[twitter-dev] estimating twitter users and activity from our iPhone app

2011-06-12 Thread Stephen Rife
Hi

I am trying to estimate how many twitter accounts are actively using
our iphone app and how much tweet activity they are generating.

Finding out just how many accounts have authorized our app would be
helpful, but after reading this discussion I realize such info is no
longer available via http://twitter.com/oauth_clients
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/979d3d5bdfa06083

Is there a way to filter by source (app id) on the Streaming Filter
API?

I know that search allows filtering by client id
http://twitter.com/#!/search/source%3ACLIENTID%20keyword

However using search results to count tweet activity from our ID from
our app isn't ideal because:
1) a keyword is always required in addition to the source:CLIENT ID
parameter
2) some user's tweets aren't included in results (especially new
users/ users without many followers.

Thanks,
Steve

@melobubu

-- 
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: Checking whether a user has given permission to Private Messages

2011-05-25 Thread Stephen Rife
> The FAQ onhttp://dev.twitter.com/pages/application-permission-model-faqwill
> be udpated in a minute :)
>

Here's the URL
http://dev.twitter.com/pages/application-permission-model-faq

-- 
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] Is This Possible: People who mention "Term A", also frequently mention "Term B"

2011-05-10 Thread Stephen Corby
Hey There,

My first post, so go easy on me!

I do social media strategy and monitoring freelance work, so I've
recently dipped my toes into programming with Python and the Twitter
API to build some simple applications for clients to perform some
basic custom functions & queries without having to dish out tons of
money for some of the expensive social media monitoring tools out
there.

Gotta say, I'm loving this so far and I'm able to build little one-off
applications for clients. Anyways, I have a client that is interesting
in figuring out the following:

Of twitter users who mention "Term A", what are the additional terms
that they frequently mention. Sort of like eCommerce systems that show
"users who bought A, also frequently purchased B, C and D".

the output I'm hoping for is something along these lines: Of users who
mentioned apples, 50% mentioned oranges, 25% mentioned lemons, etc...

I know I'll eventually have to write some code to filter out certain
words that are irrelevant, but just trying to figure out the framework
of getting the right data from the API right now.

This has reached the limit of my understanding of the twitter API thus
far, and just want to see if anyone knew if this is possible. No need
to explain fully, but anything to point me in the right direction
would be greatly appreciated-- I'm sure I can eventually figure it out
(with enough time), but wanted to make sure I wasn't wasting my time
trying to do something that is beyond the capabilities of the API.

Much appreciated!

Steve

-- 
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: Tweet button SSL (invalid certificate)

2011-03-29 Thread Stephen Rife
Just wanted to share that I have recently received inquiries from some
sites that have hit this same issue.
For the time being I am directing them to build their own button or
else not displays buttons on https pages.  (which means many of the
sites don't bother to include the buttons.)

I agree it would be nice for the tweet button to support SSL.  With
out a doubt that would make it easier to encourage more sites to
include the buttons.

- Steve


On Mar 10, 1:13 am, Marcel Stör  wrote:
> http://groups.google.com/group/twitter-development-talk/browse_frm/th...
> says that "at the moment" there's no support for a SSL tweetbutton.
> Are there any plans to change this?
>
> I find it really irritating that Facebook for example does support
> this butTwitterdoesn't. Besides, from a developer's perspective it
> doesn't seem like a terribly difficult thing to implement. Sure, the
> JavaScript widget sits on Akamai's CDN but still...
> It's a bit of a poin to customize everything just to be able to
> support SSL (the only reason for that being the IE warning about mixed
> content).
>
> Cheers,
> Marcel

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


[twitter-dev] question about verify_credentials and rate limits

2011-01-25 Thread Stephen Rife
Hi

Through testing a call to verify_credentials when it returns true
seems to count against the oAuthed user's rate limit.

However if verify_credentials returns false it does not seem to count
against the IP's rate limit.

I just want to make sure this is correct and the verify_credentials
returning FALSE condition doesn't count against some other rate limit
in that case what it would be.

Thanks,
Steve
@melobubu

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


[twitter-dev] Different crossdomains for a0.twimg.com & a2.twimg.com, a3 etc

2010-11-28 Thread stephen
Hey,

It appears the crossdomains for a2, a3, etc are different and are
preventing flash from accessing profile images on these domains.  a0
and a1 are fine, however the api returns profile image urls using all
of these domains (a0 - a?).

Are the crossdomains suppose to be all the same or are we suppose to
target only the first two?  From the few that I've tested, it seems
all profile images are accessible through the a0 or a1 domains despite
what the api returns.

Crossdomains

http://a0.twimg.com/crossdomain.xml
http://a1.twimg.com/crossdomain.xml
http://a2.twimg.com/crossdomain.xml
http://a3.twimg.com/crossdomain.xml

Stephen

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


[twitter-dev] Re: Destroying Statuses Decrements Tweet Count, Doesn't Always Destroy

2010-08-19 Thread Stephen
That sounds about right, especially seeing other comments mentioning
the constantly decrementing counter. Glad to know it's not just my
app, or related only to what was happening earlier today. Hopefully
that fix will be in place soon.

Stephen

On Aug 19, 6:21 pm, Taylor Singletary 
wrote:
> For the deleted tweet issue, I believe you might be running into this
> particular 
> bug:http://support.twitter.com/articles/207367-unable-to-delete-tweets-kn...
>
> It's a known issue, and I have word the fix is nearing completion. Sounds
> like a simple issue, but ended up being more complicated somehow.
>
> Taylor
>
> On Thu, Aug 19, 2010 at 2:43 PM, Stephen  wrote:
> > I've been playing around with integrating an app into my website's
> > news postings and admin panel, via @abraham's PHP libraries. I've just
> > set up a basic admin module that allows us to view our recent tweets
> > and send a new one. I sent out a few test tweets, and then went about
> > deleting them through the API. Most of the time, this worked.
> > Sometimes, however, things went wrong. The API would refresh and no
> > longer see the tweet, but it would still be visible on Twitter.com,
> > for example. Strangely, the number of tweets returned with my account
> > has been decremented by these failed calls. As of right now, there are
> > 6 more tweets by the account than the page actually says there are.
>
> > For those familiar with the PHP library, the following is the code I'm
> > using to delete a status:
> > $TWITTER->GetTwitterObject()->post('statuses/destroy/' .
> > $_POST['tid'], array('id' => $_POST['tid']));
> > Where $TWITTER is my own wrapper for handling Twitter interaction, and
> > the GetTwitterObject() method returns the TwitterOAuth object from
> > @abraham's library.
>
> > Also worth noting that this problem has continued AFTER the Twitter
> > Status update indicating that previous follow count and other
> > statistics were not accurately responding.
>
> > Has anyone else noticed extra decrements in the tweet count, or
> > failure to properly destroy a status via the API?


[twitter-dev] Destroying Statuses Decrements Tweet Count, Doesn't Always Destroy

2010-08-19 Thread Stephen
I've been playing around with integrating an app into my website's
news postings and admin panel, via @abraham's PHP libraries. I've just
set up a basic admin module that allows us to view our recent tweets
and send a new one. I sent out a few test tweets, and then went about
deleting them through the API. Most of the time, this worked.
Sometimes, however, things went wrong. The API would refresh and no
longer see the tweet, but it would still be visible on Twitter.com,
for example. Strangely, the number of tweets returned with my account
has been decremented by these failed calls. As of right now, there are
6 more tweets by the account than the page actually says there are.

For those familiar with the PHP library, the following is the code I'm
using to delete a status:
$TWITTER->GetTwitterObject()->post('statuses/destroy/' .
$_POST['tid'], array('id' => $_POST['tid']));
Where $TWITTER is my own wrapper for handling Twitter interaction, and
the GetTwitterObject() method returns the TwitterOAuth object from
@abraham's library.

Also worth noting that this problem has continued AFTER the Twitter
Status update indicating that previous follow count and other
statistics were not accurately responding.

Has anyone else noticed extra decrements in the tweet count, or
failure to properly destroy a status via the API?


[twitter-dev] Re: Getting Started...

2010-07-30 Thread Stephen
Just going to chime in that I'm having the same problem with my own
implementation, despite following the documentation exactly. Even
sending the exact header that Tom linked to, "OAuth
oauth_nonce="QP70eNmVz8jvdPevU3oJD2AfF7R7odC2XJcn4XlZJqk",
oauth_callback="http%3A%2F%2Flocalhost%3A3005%2Fthe_dance
%2Fprocess_callback%3Fservice_provider_id%3D11",
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1272323042",
oauth_consumer_key="GDdmIQH6jhtmLUypg82g",
oauth_signature="8wUi7m5HFQy76nowoCThusfgB%2BQ%3D",
oauth_version="1.0"", I'm still getting 401 Unauthorized returns from
the server. The same thing happens when I try to use an existing
library, which is why I turned to trying to make one myself to figure
out what's causing this error.

I've got my own post on this group with further details into my
specific problem, but getting an answer to this one would help me as
well.

Stephen

On Jul 30, 4:46 am, Andy Dixon  wrote:
> Hello,
>
> I'm trying to migrate my code across to using oAuth, and there is no class 
> for oAuth in the language I use, so I'm having to drop in at the deep end.
>
> At the moment, I am a bit stuck, I keep getting a 401 when I request a token.
>
> I have created this as my signature base string:
>
> POST&https%3A%2F%2Fapi.twitter.com%2Foauth%2Frequest_token&oauth_callback%3Doob%26oauth_consumer_key%3DAXpCOWR4c2IZVlSGNXvdZg%26auth_nonce%3DQP70eNmVz8jvdPevU3oJD2AfF7R7odC2XJcn4XlZJqk%26auth_signature_method%3DHMAC-SHA1%26auth_timestamp%3D1280511571%26auth_version%3D1.0
>
> Created a signed hash of this, using my Consumer Secret
>
> Base-64 encoded the hash since it was non-unicode
>
> URL Encoded the Base-64 string
>
> which then gives me:
>
> oAuth oauth_nonce="QP70eNmVz8jvdPevU3oJD2AfF7R7odC2XJcn4XlZJqk", 
> oauth_callback="oob", oauth_signature_method="HMAC-SHA1", 
> oauth_timestamp="1280511571", oauth_consumer_key="AXpCOWR4c2IZVlSGNXvdZg", 
> oauth_signature="4zCns2DZTQzmo2HpYY99dhJVl5A%3D", oauth_version="1.0"
>
> But when I make the POST request with the above set, I still get a 401 
> Unauthorised.
>
> Could someone steer me in the right direction please?
>
> Thanks :)
>
> Andy


[twitter-dev] PHP OAuth Failures - 401 Errors

2010-07-27 Thread Stephen
After working out hosting issues that had been getting in the way up
until now, it seems the next obstacle I have to overcome is a vague
little error I'm getting when trying to request a token for OAuth. I
have tried using the existing PHP libraries but find them to be
cumbersome and difficult to implement compared to what I want to do.
They also result in the exact same error anyway.

My Base string is as follows:
POST&https%3A%2F%2Fapi.twitter.com%2Foauth
%2Frequest_token&oauth_callback%3D
%26oauth_consumer_key%3D%26oauth_nonce
%3Daf560baf046514be37f35cfb02703191%26oauth_signature_method%3DHMAC-
SHA1%26oauth_timestamp%3D1280305432%26oauth_version%3D1.0

The raw data actually sent via the HTTPRequest->send() call is:
POST /oauth/request_token HTTP/1.1 Host: api.twitter.com
Authorization: OAuth
oauth_nonce="af560baf046514be37f35cfb02703191",oauth_callback="",oauth_signature_method="HMAC-
SHA1",oauth_timestamp="1280305432",oauth_consumer_key="",oauth_signature="dpb1DoNrlEGskEqNF07PUbevDX0%3D",oauth_version="1.0"
Content-Length: 0

And the server's reply is:
HTTP/1.1 401 Unauthorized
Date: Wed, 28 Jul 2010 03:23:54 GMT
Server: hi
Status: 401 Unauthorized
X-Transaction: 1280287434-24113-10354
Last-Modified: Wed, 28 Jul 2010 03:23:54 GMT
X-Runtime: 0.01052
Content-Type: text/html; charset=utf-8 Content-Length: 44
Pragma: no-cache
X-Revision: DEV
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-
check=0
Set-Cookie: k=216.35.123.112.1280287434590399; path=/; expires=Wed, 04-
Aug-10 03:23:54 GMT; domain=.twitter.com
Set-Cookie: guest_id=128028743460788532; path=/; expires=Fri, 27 Aug
2010 03:23:54 GMT
Set-Cookie:
_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCHDnExcqAToHaWQiJWI2YTQ3NzQ2NWViOTE0%250ANjkzNzUyMDJlMzU0NTMwZGMxIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy
%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--1f6bcf9e300c057fff20ff7fbb515e851b98fb28;
domain=.twitter.com; path=/
Vary: Accept-Encoding Connection: close
Failed to validate oauth signature and token

I've seen several other posts with similar problems on here, with
varying solutions (or the common lack thereof). Since the error of
"Failed to validate oauth signature and token" doesn't give me much to
look at fixing, I'm hoping someone else might be able to find
something wrong in the information that I'm sending on twitter. The
actual code for the HTTPRequest implementation is:

$ssl_array = array('version' => SSL_VERSION_SSLv3);
$options = array(ssl => $ssl_array);
$TWITTER = new HTTPRequest("https://api.twitter.com/oauth/
request_token", HTTP_METH_POST, $options);
$TWITTER->setHeaders(array("Authorization" => $auth, "Content-Type" =>
"", "Content-Length" => 0, "User-Agent" => "", "Accept" => ""));
//Because not having any POST data results in infinite whitescreen
that won't timeout
$TWITTER->setRawPostData(" ");
try {
$res = $TWITTER->send();
}
catch (HttpException $ex) {
print $ex."\n";
}
print $TWITTER->getRawRequestMessage() . "\n";
print $TWITTER->getRawResponseMessage() . "\n";

Any help would be appreciated.


[twitter-dev] confirmation about Twitterbot/0.1

2010-06-15 Thread Stephen Rife
Hi

Is this useragent actually from Twitter (Twitterbot/0.1)?

128.242.241.133 - - [15/Jun/2010:17:36:29 +0900] "HEAD /support/signup/
null.html HTTP/1.1" 200 - "-" "Twitterbot/0.1"

I found a post saying it is probably in Twitter's IPs range.
http://www.jongales.com/blog/2010/04/14/whats-twitterbot0-1/

I made a dummy page and tweeted it just once and noticed that the bot
has two hits with the same timestamp.  In other words two HEAD
requests at practically the same time.  Heard from another developer
that it his site was hit many more times.  I'm guessing this might be
related to the duplicate tweet posting issue today.
http://status.twitter.com/post/699623494/site-availability-issues-due-to-failed-enhancement-of

It would be nice to have a contact URL or email address in the user
agent when there are issues like this.  (a url with info that explains
the bot and policy is probably best practice so people know who owns
the bot.)

- Steve

Stephen Rife
DIgital Garage
http://twitter.com/melobubu



[twitter-dev] PHP HTTPRequest Couldn't Connect to Server

2010-06-14 Thread Stephen
I am attempting to write a simple extension for my site's news
interface in PHP. I'm running into a problem with getting the
oauth_token from the server - I am unable to connect. I suspect this
may be an SSL issue, as I am entirely lost on exactly how SSL plays
into this beyond the fact that it is an https connection. The
documentation, as far as I can see, only says "Use SSL" but never
actually says what for.

A simple little debug page I've been using to test things out:

https://api.twitter.com/oauth/
request_token/", HTTP_METH_POST) or print ("CANNOT MAKE TWITTER");
print "MADE\n";
print "SETTING UP SSL...";
$TWITTER->setSslOptions(array("ENGINE_DEFAULT" => 1, "PASSWD" =>
$privatekey));
print "SET UP\n";
print "ADDING HEADERS...";
$TWITTER->addHeaders(array("Authorization" => $auth)) or print
("CANNOT ADD HEADERS");
print "ADDED\n";
print "ADDING POST...";
$TWITTER->setRawPostData($post_stuff);
print "ADDED\n";
print "SENDING...";
try {
print $TWITTER->send()->__toString();
}
catch (HttpException $ex) {
print $ex."\n";
}
print "SENT\n";
print "REPLY: ".($TWITTER->getRawResponseMessage() or ("NO
RESPONSE"));
?>

And the resulting output:
Authorization: OAuth oauth_nonce="1b3b21dba5a3cbbc01e756bd7159ed3b",
oauth_callback="[DEBUG_PAGE]", oauth_signature_method="HMAC-SHA1",
oauth_timestamp="1276492389", oauth_consumer_key="[MY_KEY]",
oauth_signature="9fbGTC41F65DzFHG8RxRe6rW61A%3D", oauth_version="1.0"
Post Data: POST&https%3A%2F%2Fapi.twitter.com%2Foauth
%2Frequest_token&oauth_callback%3D[DEBUG_PAGE]%26oauth_consumer_key
%3D[MY_KEY]%26oauth_nonce%3D1b3b21dba5a3cbbc01e756bd7159ed3b
%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
%3D1276492389%26oauth_version%3D1.0
MAKING...MADE
SETTING UP SSL...SET UP
ADDING HEADERS...ADDED
ADDING POST...ADDED
SENDING...exception 'HttpInvalidParamException' with message 'Empty or
too short HTTP message: ''' in [FILE]:56 inner exception
'HttpRequestException' with message 'couldn't connect to server;
couldn't connect to host (https://api.twitter.com/oauth/
request_token/)' in [FILE]:48 Stack trace: #0 [FILE](56): HttpRequest-
>send() #1 {main}
SENT
REPLY: 1

So, this is an issue with connecting to the server, likely because the
server is expecting SSL. But, what am I supposed to be using SSL on?
The documentation at http://dev.twitter.com/auth just says "SSL is
recommended" and nothing more.

Any help would be much appreciated.


[twitter-dev] PHP News Tweet API

2010-06-13 Thread Stephen
Hello,

I am attempting to design a system to integrate into my website's news
management that will allow visitors to click a button/logo and
automatically tweet about it. I can't get past the authentication
step, however.

I'm using Andy Smith's PHP OAuth library to handle all my OAuth work,
and following the tutorial at http://dev.twitter.com/auth to try to
make it all work. I've hit a wall at this point, however:

-
Now that we have our signature, we have everything we need to make the
request to the endpoint https://api.twitter.com/oauth/request_token.
Now we just generate an HTTP header called "Authorization" with the
relevant OAuth parameters for the request:

When Twitter.com receives our request, it will respond with an
oauth_token, oauth_token_secret (collectively, your "request token"),
and a field called oauth_callback_confirmed that will have the value
of "true" if it's understood your OAuth callback.


In order to actually do this, I'm simply using a page that does the
following:
https://api.twitter.com/oauth/request_token";);
header("Authorization: OAuth oauth_nonce=
\"bba01121f573323c0a02656a8d66dddf\", oauth_callback=\"$MY_CALLBACK\",
oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1276484279\",
oauth_consumer_key=\"$MY_KEY\", oauth_signature=
\"k8zuJVVgqi2fgI0QXQm0oxqWSNU=\", oauth_version=\"1.0\"");

?>

$MY_CALLBACK is a urlencode()'d URL, and $MY_KEY is valid. The header
does actually format that information, removed here for privacy.

This doesn't work at all; the header gets lost. If I place the
Location header second, I end up with two sets of headers. The
Authorization header is attached to my actual page, which the headers
from api.twitter do not have this Authorization.

How do I go about getting that header to actually go to Twitter? I've
tried using both fopen() and cURL() methods of posting online, but
they just hang until timeout and fail - likely a configuration setting
by my service provider.

Any help to get those headers posting would be much appreciated. I
figure if I can get these ones posting, the rest of them should follow
suit.


[twitter-dev] Re: statuses/friends cursor parameter

2010-05-11 Thread Stephen Rife
Yes, I see the same issue with both:

/:user/:list_id/members
/:user/lists/memberships

- Steve

On 5月2日, 午前6:08, randomnoise  wrote:
> I've got the same problem, previous_cursor does not work on:
>
> http://dev.twitter.com/doc/get/statuses/friends
>
> and may also be broken on :
>
> http://dev.twitter.com/doc/get/:user/:list_id/members
>
> but seems to work on :
>
> http://dev.twitter.com/doc/get/statuses/followers
>
> Anyone know anything about this?
>
> - jr


[twitter-dev] Re: API call to turn on location-based tweets?

2010-05-07 Thread Stephen Rife
This is great.  Would be really nice if this displayed in the user's
account language setting.

- Steve
@melobubu

On 4月30日, 午前6:23, Abraham Williams <4bra...@gmail.com> wrote:
> https://twitter.com/account/geo
>
> On Thu, Apr 29, 2010 at 14:17, Ken  wrote:
>
> > > there
> > > is also a mobile optimized page with just that checkbox on twitter.comthat
> > > you could use too.
>
> > could be useful.. what's the URL?
>
> > thanks
>
> > Ken
>
> --
> Abraham Williams | Developer for hire |http://abrah.am
> @abraham |http://projects.abrah.am|http://blog.abrah.am
> This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Re: APRS data on twitter?

2010-04-19 Thread Stephen Rife
I am not familiar with ham radios and APRS.  Is each text message
authenticated to a specific user?  Are certain messages human readable
and interesting in some way?
If so it might be interesting to provide an application for ham radio
operators to connect their accounts across platforms in some way.  For
example would there be a way to communicate across the platforms to
aid in disasters?   (I couldn't tell just by looking at the stream
seemed like mostly coordinates going by.)

I would really be careful that any application isn't too loud,
otherwise most humans wouldn't want to follow their accounts.  Clearly
just tweeting all of these messages through one account wouldn't be of
much value to twitter users and most of the data isn't human
readable.  If you could connect individual accounts between the
platforms and filter or only share selected data it could be
interesting.

- Steve

Stephen Rife
Digital Garage, Tokyo
@melobubu

On 4月20日, 午前1:46, Kelly Jones  wrote:
> APRS (aprs.net) is a system ham radio operators use to broadcast short
> text messages (sound familiar?), usually about their current position,
> current weather, etc.
>
> If you "telnet rotate.aprs.net 10152" and enter "user READONLY pass -1",
> you can see most (all?) APRS data.
>
> I think it'd be useful to stream this data into twitter to make it
> more available.
>
> There's quite a bit of data generated every minute, so this might
> require an exception to the normal tweets-per-hour policy.
>
> Thoughts?
>
> --
> We're just a Bunch Of Regular Guys, a collective group that's trying
> to understand and assimilate technology. We feel that resistance to
> new ideas and technology is unwise and ultimately futile.
>
> --
> Subscription 
> settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Re: Search Weirdness?

2010-03-29 Thread Stephen Rife
Hi Naveen

The quotes around your phrase search looks like they have been double
url-escaped.

this works for me:
/search.json?q=Socialscope+OR+%22social+scope%22&rpp=200

- Steve
@melobubu

Digital Garage, Tokyo


On 3月27日, 午前4:08, Naveen  wrote:
> I have a search request that doesnt seem to work properly. I noticed
> when I was trying to refresh and no new posts were coming in, but it
> appears to not be working even on first search
>
> I have include the HTTP request and response, below, you can see that
> no results are returned, however a max_id is returned indicating that
> search believes it returned messages and hence any future refresh will
> be missing anything that should have been delivered. Also, I know this
> search should be returning results.
>
> Request:
> GET /search.json?q=Socialscope+OR+%2522social+scope%2522&rpp=200 HTTP/
> 1.1
> User-Agent: TestUserAgent
>
> Response:
> HTTP/1.1 200 OK
> Date: Fri, 26 Mar 2010 19:05:30 GMT
> Server: hi
> Status: 200 OK
> X-Served-From: b005
> X-Runtime: 0.89185
> Content-Type: application/json; charset=utf-8
> X-Served-By: c005.twitter.com
> X-Timeline-Cache-Hit: Miss
> Cache-Control: max-age=15, must-revalidate, max-age=300
> Expires: Fri, 26 Mar 2010 19:10:30 GMT
> Content-Length: 230
> Vary: Accept-Encoding
> X-Varnish: 1840907505
> Age: 0
> Via: 1.1 varnish
> X-Cache-Svr: c005.twitter.com
> X-Cache: MISS
> Connection: close
>
> {"results":[],"max_id":11102103671,"since_id":0,"refresh_url":"?
> since_id=11102103671&q=Socialscope+OR+%2522social+scope
> %2522","results_per_page":100,"page":1,"completed_in":
> 0.879457,"query":"Socialscope+OR+%2522social+scope%2522"}

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words "REMOVE ME" as the subject.


[twitter-dev] Re: Application based on Search API

2010-03-12 Thread Stephen Rife

On 3月10日, 午後10:22, Andrew Badera  wrote:
> Not sure about the REST/Search API, but on the Streaming side:
>
> http://twitter.com/pdfs/streaming_api_eula.pdf
>
> ... see Restrictions ...
>

Reading the Content License Agreement for the streaming API I am
confused by how the granting of a license to publicly display the
content from the streams (1i. Content License) works with the
obligation to use only for internal purposes.  What does "internal
purposes" mean here? Does the "unless expressly authorized herein"
part negate the restriction to not release the data publicly? Or this
just to prevent people from reselling the data?

 from  CLA  start --
1. Content License.
"Twitter grants you a nonexclusive, revocable
license to use the Content to: (i) use, reproduce, distribute,
transmit, publicly display and publicly perform the Content thereof,
solely on and through your Service. "



5. Your Obligations.
(e) User Data.
You may only use the Content and Content Feed and any data resulting
or provided therefrom for internal purposes only and, unless expressly
authorized herein, you may not publicly release or disclose any data
or usage statistics or other information (in the aggregate or
otherwise) regarding the Content.  You agree to and will make
available to Twitter any data, usage statistics or
other information (in the aggregate) regarding the access and use of
the Content.

 from  CLA end --


- Steve Rife
DIgital Garage
http://twitter.com/melobubu


[twitter-dev] Re: Streaming API connection abandonment & separation anxiety issues

2010-02-22 Thread Stephen Smith
I also experienced an interruption this morning at that time.

Stephen


[twitter-dev] Add a retweet button on the Twitter apps definition box!

2009-11-22 Thread Stephen Ou
I do think this can be a brilliant and simple idea:

Add a retweet button on the Twitter apps definition box! (located at
the right sidebar of the homepage)

There is a large benefit for both Twitter and the apps developer from
the 3rd party. Obviously, more people will learn about and use the
applications if it appears more frequently. Also, Twitter just rolled
out the Retweet button, so this will be a big plus for the whole
Retweet feature.

Hope everybody like it!

>From Stephen Ou - 14 Years Old
http://stephenou.com
http://twitter.com/stephenou


[twitter-dev] Re: DDoS update: Friday 8PM PDT

2009-08-07 Thread Stephen Weierman

Thanks for the update and good luck!

Steve

On Aug 7, 11:20 pm, Chad Etzel  wrote:
> Hello all,
>
> Here is the state of things as we know them:
>
> - The DDoS attack is still ongoing, and the intensity has not
> decreased at all. Because of this, interaction with the site and with
> the API will continue to be shaky due to the defenses that have been
> put in place by our Ops team. At this point, removing any of those
> defenses is not an option.
>
> - Whitelisted IPs that have a restricted rate-limit is a *known
> issue,* and we are still working on restoring increased rate-limiting.
>
> - OAuth funkiness is a *known issue* which seems to be exacerbated by
> the whole DDoS thing.
>
> - Automatic blacklisting of "valid" or "innocent" IPs is a *known
> issue* and a result of the DDoS defenses. These blacklistings are
> temporary, though the amount of time they "stick" is variant upon the
> number of requests being made. The best thing to do to avoid this is
> throttle back your requests. We know that this may not be an option
> for everyone, but if you can, it will help.
>
> - Keep respecting 302's as you get them.
>
> THIS IS THE MOST IMPORTANT POINT. PLEASE READ IT TWICE:
> *There is no ETA on fixing any of this*
> *There is no ETA on fixing any of this*
>
> I know that sounds harsh and cold, but if you want us to be perfectly
> honest with you, that's the truth. Things will continue to be rocky as
> long as this attack continues. They may get worse, they may get
> better. That should not be read as "we don't care about fixing it" or
> "we're not going to fix it until everything blows over" but instead as
> "we can't promise when things will be back to normal, but in the
> meantime we are working on fixing is ASAP."
>
> Ops is going to be working around the clock this weekend.
>
> We will also be monitoring the situation and giving out new
> information as we have it. Please remain patient with us. As much as
> you want it to be fixed, we want it to be fixed more. Some of my
> personal apps are completely borked as well.  We're all going to have
> to ride this out together. Communications may be slowed over the
> weekend, but please know that we are not ignoring the situation.
>
> Thanks,
> -Chad


Re: No OAuth Support just made Techmeme

2008-11-14 Thread Stephen Carpenter

We are working on a members website.
Users will join create a profile and add things like youtube feeds,  
images etc,

We would like users to be able to add there twitter account details  
and feed all their tweets into their profile and randomly pull out  
tweets from different members onto the homepage.

Can anyone point out how to do this or where to go to find out how to?

Thanks


Stephen


Integrate twitter into a website

2008-11-13 Thread Stephen C

Hi All, were creating a member website and would like members that
have twitter accounts to register their twitter details and pull all
tweats into certain parts of the site.

Can anyone point me in the right direction or how to?

Many thanks


Stpehen