[twitter-dev] Re: Twitter Platform blog post

2010-05-24 Thread JC
Hey Adam,

I'm very confused now and it would be great if the folks over at
Twitter would post a clarifying FAQ about what is allowed and what is
not allowed, I just saw this recent quote on C|Net that throws a
hammer into the clarity issue:
Twitter confirmed to CNET that this does not have any bearing on
marketers working directly with prominent Twitter users to post paid
tweets--reality show star Kim Kardashian reportedly has a rate of
$10,000 per sponsored tweet.
From what I'm reading and seeing paying someone to POST for you does
not violate TOS, but having an application that automatically posts
content in another users stream that is paid content is.  So It's fine
that I pay 10k for Kim Kardashian to post 'Discount Drinks at JC's
Tavern tonight again clarity would help on this issue.

JC

On May 24, 1:51 pm, Adam Fortuna adamjfort...@gmail.com wrote:
 Hey Ryan (and everyone else), few questions about the fine details of
 this I'd love to get clarification on.

 First and foremost - when do the new TOS go into effect? I see they're
 already up on the API TOS page (http://dev.twitter.com/pages/api_terms
 ), but would like clarification. We're suddenly in violation now, so
 want to see what kind of timeline we have to comply.  Are you'll going
 to start enforcing this immediately, or do you'll have a set date to
 comply with the new TOS by.

 One of the points in the post, the killer line obviously, is we will
 not allow any third party to inject paid tweets into a timeline on any
 service that leverages the Twitter API.
 Based on that it seems it's still within the rules if a Twitter User
 posts an ad themselves to Twitter manually, rather than a 3rd party
 doing it? Can you verify if that's a violation or not?

 From the blog post it would seem that is acceptable, but the one line
 from the new TOS might negate it: Tweets may be used in
 advertisements, not as advertisements..
 Does this mean that even a tweet posted manually to a users timeline
 cannot be an advertisement? In other words, no commerce, whether it's
 direct relationship between a Tweeter and an Advertiser, or through an
 intermediary (SponsoredTweets, Ad.ly, etc) is a violation -- whether
 the 3rd party posts it themselves of the Twitter User does the actual
 posting?

 Thanks, hope to get clarification soon,
 Adam Fortuna
 SponsoredTweetshttp://sponsoredtweets.com


[twitter-dev] Incorrect Signature

2010-06-24 Thread jc
Hi everyone!

I'm working on a Twitter application that uses Twitter API through
Twitter4j and authenticates different accounts using OAuth.
We are getting an incorrect signature error when trying to perform
any post to twitter api (i.e. sending an update, following, etc).

I'm using Twitter4j version 2.0.10. Although we are not using the
latest version of Twitter4j, my code has been working pretty well for
months until last week when I started to get these errors.

Any help from you would be much appreciated.

Thanks!
Joel
P.S.: Here goes the exception im getting

 Caused by: twitter4j.TwitterException: 401:Authentication credentials
were missing or incorrect.
?xml version=1.0 encoding=UTF-8?
hash
request/statuses/update.xml/request
errorIncorrect signature/error
/hash

at twitter4j.http.HttpClient.httpRequest(HttpClient.java:477)
at twitter4j.http.HttpClient.post(HttpClient.java:401)
at twitter4j.Twitter.updateStatus(Twitter.java:1232)


[twitter-dev] API - Get total count of hashtag usage

2011-03-14 Thread JC
If possible, what is the best approach to getting a total count of a
specific hashtag used.  I'm looking to build an app leveraging the API
that helps me get to this data.  I've seen the search api through
search.twitter.com but it filters users out it appears.  It doesn't
look I can get to this total through the streaming API or from what
I've seen.  I appreciate any help.  Thanks.

-- 
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] 400 response from twitterauth statuses/update call

2010-09-01 Thread JC O'Donnell
Hello,

I've been transitioning our basic authentication calls over to OAuth.
I'm using the twitterauth PHP library. All of the authentication calls
are working and I receive proper responses from GET requests (ex:
account/verify_credentials, account/rate_limit_status), but when I
attempt a status update POST I get a 400 Bad Request response. From
the account/rate_limit_status call I know I'm below the rate limit.

Here's a PHP snippet...

$content = $connection-post('statuses/update', array(status =
Status update));

Has anybody else been experiencing this behavior?

Thanks,

JC

-- 
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?hl=en


[twitter-dev] Re: 400 response from twitterauth statuses/update call

2010-09-07 Thread JC O'Donnell
Thanks for your response, Abraham!

Twitter is returning a code of 400 with a description of...

Bad Request

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

I'm making a account/rate_limit_status call in the page too and always
get near 350 remaining hits, so I assumed I wasn't running into rate
limiting. Here's the response data from that call...

{reset_time_in_seconds:1283878819,reset_time:Tue Sep 07 17:00:19
+ 2010,remaining_hits:350,hourly_limit:350}

I've also set the app for read/write in the Twitter console (I've
reset it a couple times as well to make sure).

JC

On Sep 4, 4:08 pm, Abraham Williams 4bra...@gmail.com wrote:
 What error code is Twitter returning?

 You could be running into a rate limit. You should also check that the
 application is read/write and check on your twitter accounts connections
 page that it has been granted read/write permissions.

 Abraham
 -
 Abraham Williams | Hacker Advocate |http://abrah.am
 @abraham |http://projects.abrah.am|http://blog.abrah.am
 This email is: [ ] shareable [x] ask first [ ] private.



 On Wed, Sep 1, 2010 at 13:02, JC O'Donnell j...@springshare.com wrote:
  Hello,

  I've been transitioning our basic authentication calls over to OAuth.
  I'm using the twitterauth PHP library. All of the authentication calls
  are working and I receive proper responses from GET requests (ex:
  account/verify_credentials, account/rate_limit_status), but when I
  attempt a status update POST I get a 400 Bad Request response. From
  the account/rate_limit_status call I know I'm below the rate limit.

  Here's a PHP snippet...

  $content = $connection-post('statuses/update', array(status =
  Status update));

  Has anybody else been experiencing this behavior?

  Thanks,

  JC

  --
  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?hl=en

-- 
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?hl=en


[twitter-dev] Re: 400 response from twitterauth statuses/update call

2010-09-07 Thread JC O'Donnell
Hi Abraham,

The server making the requests is not behind a proxy.

I've also tried the users/lookup call, with both a POST and a GET
(since the docs say both are supported). The POST returns the same
response as I mentioned before, while the GET successfully returns
user data.

JC

On Sep 7, 11:25 am, Abraham Williams 4bra...@gmail.com wrote:
 Are you behind a proxy of some sort?

 Abraham
 -
 Abraham Williams | Hacker Advocate |http://abrah.am
 @abraham |http://projects.abrah.am|http://blog.abrah.am
 This email is: [ ] shareable [x] ask first [ ] private.



 On Tue, Sep 7, 2010 at 09:09, JC O'Donnell j...@springshare.com wrote:
  Thanks for your response, Abraham!

  Twitter is returning a code of 400 with a description of...

  Bad Request

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

  I'm making a account/rate_limit_status call in the page too and always
  get near 350 remaining hits, so I assumed I wasn't running into rate
  limiting. Here's the response data from that call...

  {reset_time_in_seconds:1283878819,reset_time:Tue Sep 07 17:00:19
  + 2010,remaining_hits:350,hourly_limit:350}

  I've also set the app for read/write in the Twitter console (I've
  reset it a couple times as well to make sure).

  JC

  On Sep 4, 4:08 pm, Abraham Williams 4bra...@gmail.com wrote:
   What error code is Twitter returning?

   You could be running into a rate limit. You should also check that the
   application is read/write and check on your twitter accounts connections
   page that it has been granted read/write permissions.

   Abraham
   -
   Abraham Williams | Hacker Advocate |http://abrah.am
   @abraham |http://projects.abrah.am|http://blog.abrah.am
   This email is: [ ] shareable [x] ask first [ ] private.

   On Wed, Sep 1, 2010 at 13:02, JC O'Donnell j...@springshare.com wrote:
Hello,

I've been transitioning our basic authentication calls over to OAuth.
I'm using the twitterauth PHP library. All of the authentication calls
are working and I receive proper responses from GET requests (ex:
account/verify_credentials, account/rate_limit_status), but when I
attempt a status update POST I get a 400 Bad Request response. From
the account/rate_limit_status call I know I'm below the rate limit.

Here's a PHP snippet...

$content = $connection-post('statuses/update', array(status =
Status update));

Has anybody else been experiencing this behavior?

Thanks,

JC

--
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?hl=en

  --
  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?hl=en

-- 
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?hl=en