[twitter-dev] Re: Streaming API vs. Search API: no API returns 95% of intented tweets

2011-02-17 Thread Karussell
sorry, once more again:

With 'only in async' I meant tweets which were only retrieved via the
streaming API but not via search API

-- 
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] username/lists/:id/statuses return 404 on protected user

2011-02-17 Thread Leon Meijer
Hello all,  
   
When I try to access the lists of a user via the API 
username/lists/id_of_users_list/statuses of a protected user, the API 
returns a 404 - Not Found error, shouldn't this be a 403 Access Denied or 401 
Unauthorized ?  
   
Regards,  
Leon Meijer  
@TheNerdsOnline

-- 
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: Streaming API vs. Search API: no API returns 95% of intented tweets

2011-02-17 Thread Karussell
Hi Matt,

sorry for being unspecific. By 'only in async' I meant tweets which
were only found by the streaming API ('asynchronous retrieval') but
were not in the search results **

Why are they missing when using search API?

 Also can you give an example of what you mean by a long Tweet.

I investingated this a bit more and it seems to be intendend (?):
these tweets are 'only' retweets. As example here is one too short
tweet returned from the streaming API:

RT @bcoders: Episode 33 onsite from @JFokus with @neal4d @nicksieger
@brjavaman  Kirk Pepperdine is out! http://bit.ly/eikmux is
#Java ...

and the same tweet (id == 37959896615886848) was more complete when
returned from the search API:

RT @bcoders: Episode 33 onsite from @JFokus with @neal4d @nicksieger
@brjavaman  Kirk Pepperdine is out! http://bit.ly/eikmux is #Java a
dead-end?

So, when I use search API I'll miss tweets and when using streaming
API I'll miss text? Do I need to use both?

Regards,
Peter.

**
37952879822110720 Architecte Java J2EE: Priorité sera donnée à un
candidat de la région nantaise. Merci de tran... http://bit.ly/dQhIoK
#freelance #offres
37954149668622336 به روز رسانی: Nimbuzz اکنون با پشتیبانی از اتصال
رسمی API فیس بوک http://t.co/ICgTAXX
37954912847400960 『Java Hangs When Converting 2.2250738585072012e-308』
http://zennin.blog55.fc2.com/blog-entry-2773.html
37956641609621504 Mastering Grails: Grails in the enterprise
https://www.ibm.com/developerworks/java/library/j-grails12168/ #grails
37956994061176832 NEW! FileNet - Java/J2EE Developer - Vigilant
Technologies:  ( #Columbus , OH) http://bit.ly/e6ULEw #OpenSource
#Jobs #Job #TweetMyJOBS
37957325557989376 After a day of Java programming in Eclipse, C++
programming in Visual Studio just feels slow and crappy :(

more examples in the given file:
https://github.com/karussell/TestTwitterAPI/blob/master/discrepancy.txt

-- 
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] display user's profile image - definitive answer?

2011-02-17 Thread del
Hi All,

New to the forum, apologies if I'm covering old ground. I've done a
search but can't find a definitive answer:

I'm trying to develop a simple page that will display the last 25 of
my twitter feed. All I want to display is each user's profile image
(thumbnail) and their tweet. While I am new to this, this seems like a
basic development task.

When I access my twitter's json file...

http://api.twitter.com/statuses/user_timeline/xxxUserdIdxxx.json?count=25callback=?

... I do indeed get the information I need - except the
user.profile_image_url is MY profile image?? So I have 25 tweets from
different users (correct) all displaying my profile image next to them
(incorrect). Why am I not getting each user's profile image?

I know I can check the user's profile image via
http://api.twitter.com/version/users/profile_image/:screen_name.format

but as that is not the recommended solution due to rate limits what
should I do?

Thanks in advance,
Del

-- 
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: Streaming Api returning tweets with NULL value for object place

2011-02-17 Thread Eric Charles
Same question here.
Eric

On Feb 17, 12:59 am, aci acicartag...@gmail.com wrote:
 Hello,

 I am using the streaming api in order to be able to save tweets that
 uses the geoJSON place key of the returned json object. Tt was working
 fine last Tuesday, Feb 15, But now, there seems to be a problem with
 the place tag of the tweet object.

 I was just wondering if it's just me or is there some sort of bug or
 changes have been made in the API?

 Aci Cartagena

-- 
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: display user's profile image - definitive answer?

2011-02-17 Thread Ken D.
A couple of months ago, the consensus seemed to be to use tweetimag.es
with user id, like so: http://img.tweetimag.es/i/8970972_o

Ken

On Feb 17, 1:16 pm, del del1...@googlemail.com wrote:
 Hi All,

 New to the forum, apologies if I'm covering old ground. I've done a
 search but can't find a definitive answer:

 I'm trying to develop a simple page that will display the last 25 of
 my twitter feed. All I want to display is each user's profile image
 (thumbnail) and their tweet. While I am new to this, this seems like a
 basic development task.

 When I access my twitter's json file...

 http://api.twitter.com/statuses/user_timeline/xxxUserdIdxxx.json?coun...

 ... I do indeed get the information I need - except the
 user.profile_image_url is MY profile image?? So I have 25 tweets from
 different users (correct) all displaying my profile image next to them
 (incorrect). Why am I not getting each user's profile image?

 I know I can check the user's profile image 
 viahttp://api.twitter.com/version/users/profile_image/:screen_name.format

 but as that is not the recommended solution due to rate limits what
 should I do?

 Thanks in advance,
 Del

-- 
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: display user's profile image - definitive answer?

2011-02-17 Thread David Giamanco
I'm guessing you want to show the last 25 tweets of twitter users that you 
follow. If so, then you should use statuses/friends_timeline. The url is:

http://api.twitter.com/1/statuses/friends_timeline.json

Hopefully this helps.

- David Giamanco

-- 
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] Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Adamantus
I'm using the Twitter OAuth API to try and submit tweets from my
site's code. I have the example up and running on localhost and
everything works great and I can submit tweets but it goes through a
login stage first.

Is there a way to bypass this? Basically I just want to tweet to my
account using my Twitter account (no user login). The problem seems to
be the authentication where it develops a token from the manual login
and then uses that to authenticate and then use the API.

https://github.com/abraham/twitteroauth/blob/master/DOCUMENTATION

How could you do this manually?

-- 
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


Re: [twitter-dev] Re: Streaming Api returning tweets with NULL value for object place

2011-02-17 Thread Matt Harris
Hi Eric and Aci,

Do you have some example tweets showing what you mean?

Thanks,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Wed, Feb 16, 2011 at 11:22 PM, Eric Charles
eric.umg.char...@gmail.comwrote:

 Same question here.
 Eric

 On Feb 17, 12:59 am, aci acicartag...@gmail.com wrote:
  Hello,
 
  I am using the streaming api in order to be able to save tweets that
  uses the geoJSON place key of the returned json object. Tt was working
  fine last Tuesday, Feb 15, But now, there seems to be a problem with
  the place tag of the tweet object.
 
  I was just wondering if it's just me or is there some sort of bug or
  changes have been made in the API?
 
  Aci Cartagena

 --
 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 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


Re: [twitter-dev] Re: Streaming Api returning tweets with NULL value for object place

2011-02-17 Thread Augusto Santos
We are reporting similar problem at this thread
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/8fbab48c3172b88d#
and got no answer from twitter dev team.

Need more information? I can give some if needed.

On Thu, Feb 17, 2011 at 3:31 PM, Matt Harris thematthar...@twitter.comwrote:

 Hi Eric and Aci,

 Do you have some example tweets showing what you mean?

 Thanks,
 @themattharris
 Developer Advocate, Twitter
 http://twitter.com/themattharris



 On Wed, Feb 16, 2011 at 11:22 PM, Eric Charles eric.umg.char...@gmail.com
  wrote:

 Same question here.
 Eric

 On Feb 17, 12:59 am, aci acicartag...@gmail.com wrote:
  Hello,
 
  I am using the streaming api in order to be able to save tweets that
  uses the geoJSON place key of the returned json object. Tt was working
  fine last Tuesday, Feb 15, But now, there seems to be a problem with
  the place tag of the tweet object.
 
  I was just wondering if it's just me or is there some sort of bug or
  changes have been made in the API?
 
  Aci Cartagena

 --
 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 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 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


Re: [twitter-dev] Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Scott Wilcox
Use the 'My Access Token' provided in your App page at http://dev.twitter.com 
which will negate the need to go through the OAuth dance.

Scott.

On 17 Feb 2011, at 17:25, Adamantus wrote:

 I'm using the Twitter OAuth API to try and submit tweets from my
 site's code. I have the example up and running on localhost and
 everything works great and I can submit tweets but it goes through a
 login stage first.
 
 Is there a way to bypass this? Basically I just want to tweet to my
 account using my Twitter account (no user login). The problem seems to
 be the authentication where it develops a token from the manual login
 and then uses that to authenticate and then use the API.
 
 https://github.com/abraham/twitteroauth/blob/master/DOCUMENTATION
 
 How could you do this manually?
 
 -- 
 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 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


Re: [twitter-dev] Re: display user's profile image - definitive answer?

2011-02-17 Thread Matt Harris
Hey Del, David,

The API request for doing this is /1/statuses/home_timeline but this is for
your viewing only. You must not use that timeline to render Tweets on a
public website. The reason for this is your home_timeline could contain
Tweets from protected users that you follow, and displaying those to other
users is not permitted.

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Thu, Feb 17, 2011 at 8:36 AM, David Giamanco dgiama...@gmail.com wrote:

 I'm guessing you want to show the last 25 tweets of twitter users that you
 follow. If so, then you should use statuses/friends_timeline. The url is:

 http://api.twitter.com/1/statuses/friends_timeline.json

 Hopefully this helps.

 - David Giamanco

 --
 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 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


Re: [twitter-dev] Re: Streaming Api returning tweets with NULL value for object place

2011-02-17 Thread Matt Harris
Our support team confirms that Tweeting with locations is disabled at the
moment.
https://twitter.com/#!/Support/status/37747170618785793

When the service is restored @support will post an update.

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Thu, Feb 17, 2011 at 9:39 AM, Augusto Santos augu...@gemeos.org wrote:

 We are reporting similar problem at this thread

 http://groups.google.com/group/twitter-development-talk/browse_thread/thread/8fbab48c3172b88d#
 and got no answer from twitter dev team.

 Need more information? I can give some if needed.

 On Thu, Feb 17, 2011 at 3:31 PM, Matt Harris thematthar...@twitter.comwrote:

 Hi Eric and Aci,

 Do you have some example tweets showing what you mean?

 Thanks,
 @themattharris
 Developer Advocate, Twitter
 http://twitter.com/themattharris



 On Wed, Feb 16, 2011 at 11:22 PM, Eric Charles 
 eric.umg.char...@gmail.com wrote:

 Same question here.
 Eric

 On Feb 17, 12:59 am, aci acicartag...@gmail.com wrote:
  Hello,
 
  I am using the streaming api in order to be able to save tweets that
  uses the geoJSON place key of the returned json object. Tt was working
  fine last Tuesday, Feb 15, But now, there seems to be a problem with
  the place tag of the tweet object.
 
  I was just wondering if it's just me or is there some sort of bug or
  changes have been made in the API?
 
  Aci Cartagena

 --
 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 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 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


Re: [twitter-dev] Re: Problem with Streaming API location filter

2011-02-17 Thread Matt Harris
Cross posting this reply as it is relevant.

Our support team confirms that Tweeting with locations is disabled at the
moment.
http://twitter.com/Support/status/37747170618785793

When the service is restored @support will post an update.

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Wed, Feb 16, 2011 at 11:35 AM, Andrey andre...@gmail.com wrote:

 same here

 On Feb 16, 4:40 am, Augusto Santos augu...@gemeos.org wrote:
  Hi folks,
 
  I'm having a huge decrease in my location filter at streaming api.
  Apparently it's only retrieving tweets with Lat/Long and just a few of
 those
  with place_name only.
 
  Is there a change on the filter location policy?
 
  This problem starts at 2011-02-16 01:00:00 UTC, here's my count sample
  With/Without Lat/Long information:
 
  month day hour WithoutLatLong WithLatLong   2 16 12 0 38  2 16 11 106
 27890
  2 16 10 104 25026  2 16 9 109 21680  2 16 8 129 21252  2 16 7 141 23906
  2
  16 6 85 23622  2 16 5 67 24928  2 16 4 76 26288  2 16 3 3498 29309  2 16
 2
  8413 28783  2 16 1 20145 30119  2 16 0 73797 29976  2 15 23 75647 24921
  2
  15 22 61369 18439  2 15 21 62640 19588  2 15 20 81359 28071  2 15 19
 70744
  27320  2 15 18 62021 26855  2 15 17 61765 31295  2 15 16 64631 32055  2
 15
  15 60821 35202  2 15 14 46371 34168  2 15 13 37315 33056  2 15 12 28220
  31379  2 15 11 21489 27967  2 15 10 17298 24775  2 15 9 13815 23260  2 15
 8
  14880 23609  2 15 7 15560 25008
  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 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


Re: [twitter-dev] Re: Problem with Streaming API location filter

2011-02-17 Thread Augusto Santos
I think the right link might be
https://twitter.com/#!/Support/status/38295036303122432

it's a 2 day delayed post, but ok.

On Thu, Feb 17, 2011 at 3:49 PM, Matt Harris thematthar...@twitter.comwrote:

 Cross posting this reply as it is relevant.

 Our support team confirms that Tweeting with locations is disabled at the
 moment.
 http://twitter.com/Support/status/37747170618785793

 When the service is restored @support will post an update.

 Best,
 @themattharris
 Developer Advocate, Twitter
 http://twitter.com/themattharris



 On Wed, Feb 16, 2011 at 11:35 AM, Andrey andre...@gmail.com wrote:

 same here

 On Feb 16, 4:40 am, Augusto Santos augu...@gemeos.org wrote:
  Hi folks,
 
  I'm having a huge decrease in my location filter at streaming api.
  Apparently it's only retrieving tweets with Lat/Long and just a few of
 those
  with place_name only.
 
  Is there a change on the filter location policy?
 
  This problem starts at 2011-02-16 01:00:00 UTC, here's my count sample
  With/Without Lat/Long information:
 
  month day hour WithoutLatLong WithLatLong   2 16 12 0 38  2 16 11 106
 27890
  2 16 10 104 25026  2 16 9 109 21680  2 16 8 129 21252  2 16 7 141 23906
  2
  16 6 85 23622  2 16 5 67 24928  2 16 4 76 26288  2 16 3 3498 29309  2 16
 2
  8413 28783  2 16 1 20145 30119  2 16 0 73797 29976  2 15 23 75647 24921
  2
  15 22 61369 18439  2 15 21 62640 19588  2 15 20 81359 28071  2 15 19
 70744
  27320  2 15 18 62021 26855  2 15 17 61765 31295  2 15 16 64631 32055  2
 15
  15 60821 35202  2 15 14 46371 34168  2 15 13 37315 33056  2 15 12 28220
  31379  2 15 11 21489 27967  2 15 10 17298 24775  2 15 9 13815 23260  2
 15 8
  14880 23609  2 15 7 15560 25008
  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 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 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: Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Adamantus
Thanks Scott. I found the token from that page but I get Could not
authenticate you when I try and use it. Do you happen to know where I
might get some code or tutorial which would explain how to use the
tokens from the site?

-- 
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


Re: [twitter-dev] Re: Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Abraham Williams
Here is pretty much the simplest  code to post a new status:
https://gist.github.com/564882

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



On Thu, Feb 17, 2011 at 10:53, Adamantus dan.cottre...@gmail.com wrote:

 Hi Abraham.

 I tried to hack your example to use the static tokens but to be honest
 I'm out of my depth. Is there any chance of an example on how to use
 the API without logins?

 --
 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 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: Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Adamantus
Genius, thanks Abraham that worked great, and so simple.

-- 
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: Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Patrick Kennedy
I'd also like to add that if you want to start *reading* tweets, which
is probably inevitable, you should configure your local test server as
local.dev vice localhost (mapping 127.0.0.1 to local.dev in addition
to localhost).

On Feb 17, 2:17 pm, Adamantus dan.cottre...@gmail.com wrote:
 Genius, thanks Abraham that worked great, and so simple.

-- 
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


Re: [twitter-dev] Re: Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread ritesh ranjan
Hi Abraham,

Thanks for your explanation in such a very easy way.
I am using the same url https://gist.github.com/564882  and after download
the file, I am just getting only the code of Twitter.php, but it also
requires  the require_once('twitteroauth.php'), so My question is from where
I can find out the 'twitteroauth.php' file, because When I am downloading
this link only twitter.php file is there in a folder. Please check , and
very thanks in advance.

Ritesh

On Fri, Feb 18, 2011 at 12:29 AM, Abraham Williams 4bra...@gmail.comwrote:

 Here is pretty much the simplest  code to post a new status:
 https://gist.github.com/564882


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



 On Thu, Feb 17, 2011 at 10:53, Adamantus dan.cottre...@gmail.com wrote:

 Hi Abraham.

 I tried to hack your example to use the static tokens but to be honest
 I'm out of my depth. Is there any chance of an example on how to use
 the API without logins?

 --
 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 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 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


Re: [twitter-dev] Re: Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Abraham Williams
Look at the comments at the top of twitter.php.

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



On Thu, Feb 17, 2011 at 12:26, ritesh ranjan riteshranjan...@gmail.comwrote:

 Hi Abraham,

 Thanks for your explanation in such a very easy way.
 I am using the same url https://gist.github.com/564882  and after download
 the file, I am just getting only the code of Twitter.php, but it also
 requires  the require_once('twitteroauth.php'), so My question is from where
 I can find out the 'twitteroauth.php' file, because When I am downloading
 this link only twitter.php file is there in a folder. Please check , and
 very thanks in advance.

 Ritesh

 On Fri, Feb 18, 2011 at 12:29 AM, Abraham Williams 4bra...@gmail.comwrote:

 Here is pretty much the simplest  code to post a new status:
 https://gist.github.com/564882


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



 On Thu, Feb 17, 2011 at 10:53, Adamantus dan.cottre...@gmail.com wrote:

 Hi Abraham.

 I tried to hack your example to use the static tokens but to be honest
 I'm out of my depth. Is there any chance of an example on how to use
 the API without logins?

 --
 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 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 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 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] /statuses/filter.json returns 401 with OAuth

2011-02-17 Thread Josiah Carlson
Long story short: I can access the REST API using OAuth without issue. I can 
access the streaming API using Basic Auth without issue. When I try to 
access the streaming API using OAuth, I get a 401 error.

I filed a bug http://goo.gl/nXYg2, but was directed here and to the IRC 
channel. I posted my problem in the IRC channel, but no one could verify 
that they have the streaming API working with OAuth.

Can anyone verify whether accessing /status/sample.json or 
/status/filter.json with OAuth works for them or not?

Thank you,
 - Josiah

-- 
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


Re: [twitter-dev] Getting Started

2011-02-17 Thread Dan
Does anyone have a working example of using the jtwitter library using 
callbacks?  

-- 
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


Re: [twitter-dev] Re: Twitter OAuth PHP - Submit tweets without user login?

2011-02-17 Thread Dan
This example finally made sense of the whole thing and now I am up and 
running. 

-- 
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] Geo Features Not Working?

2011-02-17 Thread David W
Anybody know why the geo features (tagging/searching) have been down
for the past few days?

I saw this tweet earlier today from @support We've re-enabled the
tweeting from your location feature.
http://twitter.com/#!/Support/status/38353466543980544

But a call to geo search:
http://api.twitter.com/1/geo/search.json?lat=51.549003795693565long=-0.20650863647460938

Still returns:
   errors: [
{
 code : 10,
 message : Geo services are temporarily unavailable
 }

And adding a lat/long to a tweet still doesn't get it tagged.  Any
ideas as to why and when normal service will resume?

Thanks,
dw.

-- 
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] Is it possible to get my friends' messages that have been retweeted by others?

2011-02-17 Thread Myung Jin Lee
Hello.

I am just developing a simple application for analysis of tweet
messages.
But I cannot find a method that I want in Twitter API.

Twitter statuses/retweets_of_me API returns my messages that have been
retweeted by others.
Like statuses/retweets_of_me API, is there any method or way that
returns my friends' messages that have beed retweeted by others?

I wonder if you can help me.
Thanks for your reading.

-- 
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: Feature Request: Share Box from Tweet button optimized for mobile device

2011-02-17 Thread Dales
Hi Kevin,

+2 from me. We would put this little puppy on some big traffic mobile
sites; carriers, publishers etc.

Currently what is the easiset, cleanest solution for tweeting stories
from smaller screens? Ideally not using JS. My guess is we:

1. produce our own version/s of a tweet button and share box?
2. generate  install shortened url's in that box?
3. Call up a mobile friendly authentification dialogue screen
presuming such exist?
4. POST using REST API?
5. Can we get the count back, in any form?

Am I missing something important?

thanks,

Dales


On Jan 19, 11:44 am, Matt Harris thematthar...@twitter.com wrote:
 Hi Kevin,

 This is a feature on the teams roadmap. We don't have a timeline for when or
 if this will be implemented but we know it's something developers would like
 to see. If anything does happen it will be communicated either through
 @twitterapi or this mailing list.

 Best,
 @themattharris
 Developer Advocate, Twitterhttp://twitter.com/themattharris

 On Fri, Jan 7, 2011 at 3:40 PM, KevinB kevin.bold...@gmail.com wrote:
  Thanks for the official Tweet Button - it's nice to have something
  familiar and consistent for our users.

  Our current implementation is to have a Tweet button on a mobile
  website. Functionally it works great, but the Share Box (and login, if
  necessary) don't work very well on a mobile device (iPhone, in
  particular - I haven't tested in Android). The fixed width:

 http://dev.twitter.com/pages/tweet_button_faq#dimensions

  helps a little bit, but the form fields and labels are still quite
  small since the device zooms out the page to fit everything in it.
  This requires the user to zoom in to be able to see exactly what's
  going on. And if I don't use the actual button and just open
  twitter.com/share with a querystring, it's even worse b/c of the
  iPhone's assumption that web pages are 960px wide.

  My request is that the HTML/CSS of the Share Box login and post be
  updated with CSS media queries (or a separate page) to accommodate the
  smaller screen.

  thanks!
  -KevinB

  --
  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 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] oaut token secret lengths

2011-02-17 Thread Tim Skipper
Is it still the case that the maximum size for an oauth token or
secret is 50 characters?

-- 
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] Hunting trends in Twitter

2011-02-17 Thread deepvoid
I am researching a bit on how these sites work trends twitter? I
wonder what possibilities you have to get to read tweets massively to
be able to get links from sites, trends, keywords, etc ...

Forms and techniques I talk really legal so to speak, because doing
this kind of web mining understand that brute force is achievable by
more traditional means such as spiders or crawlers of some kind,
siguiend thousands of users, etc ...

Thank you very much to all

-- 
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