[twitter-dev] Granularity for geo/search is strange/unknown

2010-06-16 Thread MeltingIce
Hey everyone,

I am trying to search for locations using the new geo/search API call,
but the granularity of the locations returned is nearby cities at best
even though the granularity is set to "neighborhood".  I would like to
pass in simply a lat/long, but even when I pass in a search query as
well, I either get extremely broad results or no results at all.

Heres an example that I've been trying which is returning cities as
far away as Virginia although the lat/long is really in Charleston,
SC.

http://api.twitter.com/1/geo/search.json?query=java+java&accuracy=761.9884176&autocomplete=false&long=-80.1489&lat=32.6058&granularity=neighborhood

The autocomplete param is undocumented, although switching it from
false to true doesn't seem to have an effect anyways.  Is there
something I'm missing here?  Thanks in advance for the help!


[twitter-dev] Re: Granularity for geo/search is strange/unknown

2010-06-16 Thread MeltingIce
Also, when searching for a place ID, I've come across the place_type
of "admin".

Example: http://api.twitter.com/1/geo/id/6057f1e35bcc6c20.json

What does that even mean?  Thanks!

On Jun 16, 10:54 am, MeltingIce  wrote:
> Hey everyone,
>
> I am trying to search for locations using the new geo/search API call,
> but the granularity of the locations returned is nearby cities at best
> even though the granularity is set to "neighborhood".  I would like to
> pass in simply a lat/long, but even when I pass in a search query as
> well, I either get extremely broad results or no results at all.
>
> Heres an example that I've been trying which is returning cities as
> far away as Virginia although the lat/long is really in Charleston,
> SC.
>
> http://api.twitter.com/1/geo/search.json?query=java+java&accuracy=761...
>
> The autocomplete param is undocumented, although switching it from
> false to true doesn't seem to have an effect anyways.  Is there
> something I'm missing here?  Thanks in advance for the help!


[twitter-dev] still down

2010-07-19 Thread MeltingIce
Looks like logins have been broken for 11-12 hours now for TwitPic.
On the plus side, our servers are finally getting a breath of fresh
air from the low number of requests :P


[twitter-dev] Re: what's wrong with the search API?

2010-08-09 Thread MeltingIce
I had this same problem, and I discovered I was using api.twitter.com/
1/search instead of search.twitter.com/search.  So yeah, switching the
endpoint fixed it.

Good luck,
Ryan

On Aug 7, 3:52 am, bruce zhang  wrote:
> Hi,guys
>      before I can get the target tweets from  search API.but now it returns
> results as follow:
> what's wrong with the search API?
>
> stdClass Object
> (
>     [statuses] => Array
>         (
>             [0] => 41071345445
>             [1] => 41071345451
>             [2] => 41071345461
>             [3] => 41071345481
>             [4] => 41071345487
>             [5] => 41071345539
>             [6] => 41071345567
>             [7] => 41071345585
>             [8] => 41071345623
>             [9] => 41071345633
>             [10] => 41071345647
>             [11] => 41071345663
>             [12] => 41071345697
>             [13] => 41071345701
>             [14] => 41071345715
>             [15] => 41071345781
>         )
>
>     [created_in] => 0.009274
> )
>
> --
> Best regards,
> Bruce
> E-Mail:brucezhan...@gmail.com 


[twitter-dev] Re: Uploading a Profile Image help

2010-08-09 Thread MeltingIce
I too am waiting for the profile image API call to be fixed. I have
checked the request and even dove into HTTP_Request2's internal code
just to verify that the request is correct.  The only error I get back
is 500 Internal Server Error.  No other hints or suggestions are
present in the response header.  The images I am using are small and
well within the limits.  Any update on when this may be working again?

Thanks,
Ryan

On Aug 9, 11:07 am, Taylor Singletary 
wrote:
> Also a reminder: the Twitter API is at thehttp://api.twitter.comsubdomain.
> Twitter API has version numbers in the URL as well.
>
> The original poster in this thread is 
> usinghttp://twitter.com/account/update_profile_image.xmlwhen they should be
> usinghttp://api.twitter.com/1/account/update_profile_image.xml
>
> And I'll echo what Tom has said: you should switch to using OAuth very soon
> or you'll find your script doesn't work at all in about 2 weeks.
>
> Taylor
>
> On Sun, Aug 8, 2010 at 10:28 PM, Raghu Prasad wrote:
>
>
>
> > On Sun, Aug 8, 2010 at 5:58 AM, marketingmaniac 
> > wrote:
> > > i use to have this app that suddenly doesn't work anymore,, it use to
> > > work perfectly and now ,, hmm,,
> > > any help would be appreciated,,
>
> > Though I don't know a bit about VB, I can safely say that
> > profile image functionality of Twitter has been broken for
> > many weeks. Updating profile image has not been working
> > via API. If you check the past threads, you'd find that one
> > of the Twitter developer is assigned the task of streamlining
> > the image upload functionality. I am also waiting for that to
> > happen.
>
> > Raghu
>
> > > here is the code that update my users profile written in vb 2008/10
> > > that worked flawlessly
>
> > > 'THE BUTTON I MADE TO INITIATE THE SUB CALLED UPLOADPROFILEIMAGE
> > > Private Sub Button37_Click_1(ByVal sender As System.Object, ByVal e As
> > > System.EventArgs) Handles Button37.Click