Re: [twitter-dev] What do the attributes represent in a geo place lookup for a city

2010-07-13 Thread Matt Harris
Great questions. I'll be publishing a document to dev.twitter.com about this
in the next couple of days but to answer you question the attributes you
refer to are specific to a registered OAuth application. I'll explain more
about these attributes and where they come from in the dev.twitter document.

I'll let you know when the document is published.

Matt

On Mon, Jul 12, 2010 at 6:07 PM, Ryan W rwilli...@gmail.com wrote:

 For example:

 Place lookup for Portland, OR:
 http://api.twitter.com/1/geo/id/ac88a4f17a51c7fc.json

 Returns as part of the result:

 attributes:{162772:pop100:529121,162772:place_id:4159000}

 What does the 162772 signify?  I believe the 162772:pop100
 represents population from 2000 census (I'm saying 2000 based on spot
 checking a couple of cities).  But, will this 162772 change?

 What does the place_id represent?  It's not a woeid, and it's
 different than the twitter place_id (or is it?  maybe the place_id in
 the URL is a hash of this?)

 Thanks!




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris


[twitter-dev] Re: Which one are you using in your mobile app? xAuth or oAuth?

2010-07-13 Thread Nik Fletcher
Hi Guys

This might be of interest:

http://getsharekit.com

It's a drop-in module for iPhone apps to enable sharing. I've based my
own Twitter sharing off of this (using xAuth as the other OAuth flows
stink IMHO) however ShareKit allows both OAuth and xAuth should you
wish so might provide some ideas / examples.

Cheers

-N

On Jul 12, 10:50 am, James Abley james.ab...@gmail.com wrote:
 On Jul 9, 8:01 am, Bess bess...@gmail.com wrote:

  So far I only learn of one Twitter-based app is using OAuth - Twitter
  official app (not sure it is out in app store yet).

  I personally like to learn the best practice on OAuth and best OAuth
  library used in iPhone, Android, Nokia and Blackberry.

 +1

 We have some existing apps (iPhone / iPad and Android) that use Basic
 Auth and are migrating to OAuth. I'm guessing that Twitter for iPhone
 uses xAuth - I didn't have to enter a PIN or allow the app via a web
 UI.

 Some additional examples would be nice.

 Cheers,

 James





  On Jul 7, 10:19 am, Oscar Cortes ocort...@gmail.com wrote:

    Thanks for the feedback Rich.  I didn't know that the embedded web
   browser could be used for this. Can someone point me out to an iPhone
   or iPad app that uses oAuth with the embedded web browser? I would
   like to try it out.

   Oscar

   On Jul 6, 6:28 pm, Rich rhyl...@gmail.com wrote:

We are using oAuth on the iPhone. It works great and I don't see why
   xAuthshould be allowed on iPhone as the embedded web browser is more
than capable

On Jul 6, 8:55 pm, Oscar Cortes ocort...@gmail.com wrote:

 We are about to integrate Twitter support in our iOS library and we
 are seeing that some devs preferxAuthover oAuth? Which one are you
 using and why? Does Twitter push for one of them more?

 Thanks


[twitter-dev] Whitelisting

2010-07-13 Thread Edward J. Yoon
Hello,

I'm a @eddieyoon, a founder of Tweetple.com. Tweetple.com is an
interest-based social networking service on top of the Twitter.

As a BETA service, I've started school-based networking service
firstly - http://school.tweetple.com/about/ during worldcup 2010..

Currently, I'm caching all results locally... to reduce api calls.
Please review my earnest request as soon as possible..

Thanks.


[twitter-dev] CMS application on each domain

2010-07-13 Thread Mathieu Maes
Hi,

My company has developed its own CMS which we use to develop websites
for customers. I'm working on a Twitter plugin to allow people to send
news to Twitter from within the CMS. For the moment, I'm stuck with
the authentication part.

First question:
When I register an application, I must choose a callback URL. In my
case it doesn't make much sense, since the application will run on
each customer's domain (being part of the CMS).
Should I re-register the application for each implementation, or
should I use a single key and add domains ?

Second question:
I'm working locally on the application. I read it's not possible to
add localhost as a domain. I added a domain (www.test.com) to my
hosts file, and created a virtual host in my local Apache httpd.conf.
This seems to work fine.

I've set the callback URL to http://company.com in the application
settings, but I'm using the oath_callback parameter to make twitter
redirect to www.test.com/file.php.
This isn't working, Twitter is redirecting to company.com, not the
given oauth_callback URL. Is there something I'm missing ?

Kind regards,
Mathew



[twitter-dev] Notification on Twitter when viewing Website

2010-07-13 Thread Joep v. Mourick
Hi All,

I'm currently working on a website for a event. On the homepage I've
installed a twitter application witch shows my tweets about the event.

I would like to add a button by witch the visitors can tweet that
they're visiting our website. I know that it is possible in some music
app's.

Does anybody know how to implement this in Joomla CMS?

Cheers,

Joep


[twitter-dev] Re: Notification on Twitter when viewing Website

2010-07-13 Thread Mounir Regragui
api.twitter.com

On 13 juil, 11:10, Joep v. Mourick j...@vanmourick.nl wrote:
 Hi All,

 I'm currently working on a website for a event. On the homepage I've
 installed a twitter application witch shows my tweets about the event.

 I would like to add a button by witch the visitors can tweet that
 they're visiting our website. I know that it is possible in some music
 app's.

 Does anybody know how to implement this in Joomla CMS?

 Cheers,

 Joep


[twitter-dev] Re: SSL Cert not working on a1.twimg.com

2010-07-13 Thread Amir
I haven't gotten a feedback yet. I might just cache the image on our
server and show it https. Please let me know if there is a better
solution.

On Jul 12, 1:44 pm, Amir finda...@gmail.com wrote:
 Ok, but I am using REST api to pull tweets. I am using a https url for
 the javascript call. But the images that are in the json data are not
 https. IE7 throws this funny error saying some resources on this page
 is not secured would you like to still display them. I can search
 replace in my loop but not sure if that is the best implementation.
 Any thoughts?

 On Jul 12, 12:03 pm, John Adams j...@twitter.com wrote:

  What the main site currently does is to provide SSL images directly from s3
  when a user is on https and to provide images over our CDN (twimg.com) when
  using a non-ssl connection.

  i.e.:https://s3.amazonaws.com/twitter_production/profile_images/64195496/I...

  vs.http://a1.twimg.com/profile_images/64195496/IMG_1875_normal.JPG

  This may change in the future if we put a valid cert on twimg,com, though.

  -j

  On Mon, Jul 12, 2010 at 6:42 AM, Amir finda...@gmail.com wrote:
   Hi,

   We are trying to use https for twitter images but the certs seem to be
   broken.

  https://a1.twimg.com/profile_images/517692382/box_normal.jpg

   Can someone confirm that is going to be fixed or if its already known
   bug?


[twitter-dev] Tweeting from my website

2010-07-13 Thread olli ekeis
Hi,

let's say someone finds 'mysuperpage' of my website interesting.

How can I make that someone-guy tweeting the predefined string
'superpage found on http://abc.xyz/superpage blablabla' direct from my
website by clicking on a tweet-button?

How can I integrate a shortener service?

thx4help Olli.


Re: [twitter-dev] Tweeting from my website

2010-07-13 Thread Cameron Kaiser
 let's say someone finds 'mysuperpage' of my website interesting.
 
 How can I make that someone-guy tweeting the predefined string
 'superpage found on http://abc.xyz/superpage blablabla' direct from my
 website by clicking on a tweet-button?

There is no one-click way to do this (if you think about it, if there were
then the clickjackers would have a field day). You *can* pass a predefined
status string to Twitter and then the user can examine it and click Submit;
there are various examples of this you can find in the group archives. But
you can't simply build a tweet-button that way.

 How can I integrate a shortener service?

Probably the easiest way is to preshorten the URL before you hand it off
in your status string. That will depend on your shortener's API.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Dread each day as it comes. -- Donald Kaul -


[twitter-dev] Re: CMS application on each domain

2010-07-13 Thread Mounir Regragui
If you want special callback URIs, you should email the api support
team.

On 13 juil, 11:07, Mathieu Maes mathieu.m...@gmail.com wrote:
 Hi,

 My company has developed its own CMS which we use to develop websites
 for customers. I'm working on a Twitter plugin to allow people to send
 news to Twitter from within the CMS. For the moment, I'm stuck with
 the authentication part.

 First question:
 When I register an application, I must choose a callback URL. In my
 case it doesn't make much sense, since the application will run on
 each customer's domain (being part of the CMS).
 Should I re-register the application for each implementation, or
 should I use a single key and add domains ?

 Second question:
 I'm working locally on the application. I read it's not possible to
 add localhost as a domain. I added a domain (www.test.com) to my
 hosts file, and created a virtual host in my local Apache httpd.conf.
 This seems to work fine.

 I've set the callback URL tohttp://company.comin the application
 settings, but I'm using the oath_callback parameter to make twitter
 redirect towww.test.com/file.php.
 This isn't working, Twitter is redirecting to company.com, not the
 given oauth_callback URL. Is there something I'm missing ?

 Kind regards,
 Mathew


Re: [twitter-dev] Tweeting from my website

2010-07-13 Thread Peter Denton
also, take a look at http://dev.twitter.com/anywhere/begin. Sounds like you
are looking for a lightweight solution to allow people to share your page
to twitter.

bitly has a javascript shortener service, which you could call and
prepopulate the anywhere dialog box.

On Tue, Jul 13, 2010 at 7:55 AM, olli ekeis ekei...@gmx.de wrote:

 Hi,

 let's say someone finds 'mysuperpage' of my website interesting.

 How can I make that someone-guy tweeting the predefined string
 'superpage found on http://abc.xyz/superpage blablabla' direct from my
 website by clicking on a tweet-button?

 How can I integrate a shortener service?

 thx4help Olli.


[twitter-dev] WhiteListed Account change to OAuth

2010-07-13 Thread Sunny
Hi Folks,

I have this issue. I have a whitelisted Twitter account I use to query
REST API with HTTP Basic Authentication. As my account was
whitelisted, I could query 20,000 requests per hour. Because, now we
have to change to OAuth, I have registered an application from my
Twitter Account.  But the RateLimitStatus for this application is back
to 150 and not 20,000. How do I make sure my whitelisting applies when
I use OAuth too?

thank you.

-Sunny


[twitter-dev] OAuth with Streaming API causes 500

2010-07-13 Thread Brian Ryckbost
We are working on adding OAuth support to the twitter stream gem
(http://github.com/voloko/twitter-stream) using roauth (http://
github.com/maccman/roauth) to generate the oauth header. We have the
library working fine with basic auth but as soon as we turn on OAuth
we get 500 errors from the server.

Here is the request we're getting the error with:

GET /1/statuses/filter.json?track=miami HTTP/1.1
Host: stream.twitter.com
User-Agent: TwitterStream
Authorization: OAuth
oauth_nonce=V60jgkOhLoKWvZyu7tmrM6LCSSiWfCxCcAQxUeGHREc,
oauth_timestamp=1279049530, oauth_signature_method=HMAC-SHA1,
oauth_consumer_key=[redacted], oauth_token=[redacted,
oauth_signature=RGz8UfkGHPQ8shsQopOSFD3r3Qg%3D, oauth_version=1.0

Any thoughts?
-Brian



[twitter-dev] Re: Search Users Per Location

2010-07-13 Thread PhilGo20
anyone ?

On 29 juin, 16:20, PhilGo20 gauvin.phili...@gmail.com wrote:
 Is there a way to run a query returning Users around a particular
 location based on the location specified in their profile (returns all
 user with name=joe in montreal ?

 Or is the only way is to use the user/search method and filter out the
 results set ?


Re: [twitter-dev] Re: Search Users Per Location

2010-07-13 Thread Jonathan Reichhold
Not currently.  You can search by location and find users tweeting from
there or nearby, but can't search by users at a specific location by
profile.

Jonathan

On Tue, Jul 13, 2010 at 2:28 PM, PhilGo20 gauvin.phili...@gmail.com wrote:

 anyone ?

 On 29 juin, 16:20, PhilGo20 gauvin.phili...@gmail.com wrote:
  Is there a way to run a query returning Users around a particular
  location based on the location specified in their profile (returns all
  user with name=joe in montreal ?
 
  Or is the only way is to use the user/search method and filter out the
  results set ?



[twitter-dev] Obtaining the access_token from @anywhere

2010-07-13 Thread macmichael01
I am using the @anywhere API. Is there a way to obtain the
access_token(oauth) from that?


[twitter-dev] Juitter - Some accounts aren't indexed by search?

2010-07-13 Thread codeless
Hey there, I'm working with Juitter (http://juitter.com) on a project
and have noticed that some users tweets won't appear on the live
stream. And not just accounts that are set to private, but regular
twitter accounts. I have done some research and have found some saying
that not all Twitter accounts are indexed by the Twitter search
engine. Is there anything I can change in Juitter to fix it so it'll
work with all non-private accounts? Or a way to force Twitter into
indexing a certain account? Any and all information is welcomed. Thank
you for your help.


Re: [twitter-dev] Juitter - Some accounts aren't indexed by search?

2010-07-13 Thread Pascal Jürgens
Hi,

those are probably accounts which twitter filtered out. The docs are pretty 
clear on this and give practical advice:

http://dev.twitter.com/pages/streaming_api_concepts

 Both the Streaming API and the Search API filter statuses created by a small 
 proportion of accounts based upon status quality metrics. For example, 
 frequent and repetitious status updates may, in some instances, and in 
 combination with other metrics, result in a different status quality score 
 for a given account. Results that are not selected by user id, for example: 
 samples and keyword track, are filtered by this status quality metric. 
 Results that are selected by user id, currently only results from the follow 
 predicate, are unfiltered and allow all matching statuses to pass. If an 
 expected user's statuses are not present in a non-follow-predicate stream 
 type, manually cross-check the user against Search results. If the user's 
 statuses are also not returned in Search, you can assume that the user's 
 statuses will not be returned by non-follow-predicated streams.
 For more details see: http://help.twitter.com/forums/10713/entries/42646 
 which states, in part:
 In order to keep your search results relevant, Twitter filters search results 
 for quality. Our search results will not include suspended accounts, or 
 accounts that may jeopardize search quality. Material that degrades search 
 relevancy or creates a bad search experience for people using Twitter may be 
 permanently removed.


On Jul 13, 2010, at 23:30 , codeless wrote:

 Hey there, I'm working with Juitter (http://juitter.com) on a project
 and have noticed that some users tweets won't appear on the live
 stream. And not just accounts that are set to private, but regular
 twitter accounts. I have done some research and have found some saying
 that not all Twitter accounts are indexed by the Twitter search
 engine. Is there anything I can change in Juitter to fix it so it'll
 work with all non-private accounts? Or a way to force Twitter into
 indexing a certain account? Any and all information is welcomed. Thank
 you for your help.



[twitter-dev] Broken SSL certificate again? SSL certificate validation warnings on Symbian ...

2010-07-13 Thread janole
The Twitter API hosts seem to be using a broken VeriSign SSL cert
again like two weeks ago.

This cert cannot be verified by any Symbian phone! It's showing a
warning on the phone or even rejecting a connection.

Is it possible that you revert back to the supported GeoTrust
certificate?

Thanks
ole @ mobileways.de / @janole / #Gravity Twitter Client for Symbian S60


Re: [twitter-dev] Broken SSL certificate again? SSL certificate validation warnings on Symbian ...

2010-07-13 Thread Cameron Kaiser
 The Twitter API hosts seem to be using a broken VeriSign SSL cert
 again like two weeks ago.
 
 This cert cannot be verified by any Symbian phone! It's showing a
 warning on the phone or even rejecting a connection.
 
 Is it possible that you revert back to the supported GeoTrust
 certificate?

Confirming. Why all these certificate switches all of a sudden?

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Gravity is a myth. The Earth just sucks. ---


[twitter-dev] Whether I can use the word chirp in my site?

2010-07-13 Thread Ramanean
Whether I can use the word chirp in my site? http://www.chirpsearch.com?

Whether it has any copyright claims by Twitter?


Shan


Re: [twitter-dev] Broken SSL certificate again? SSL certificate validation warnings on Symbian ...

2010-07-13 Thread M. Edward (Ed) Borasky
Is that why I can't sing into mobile.twitter.com from my Android?  
twitter.com works just fine!

--
M. Edward (Ed) Borasky
http://borasky-research.net http://twitter.com/znmeb

A mathematician is a device for turning coffee into theorems. - Paul Erdos


Quoting Cameron Kaiser spec...@floodgap.com:


The Twitter API hosts seem to be using a broken VeriSign SSL cert
again like two weeks ago.

This cert cannot be verified by any Symbian phone! It's showing a
warning on the phone or even rejecting a connection.

Is it possible that you revert back to the supported GeoTrust
certificate?


Confirming. Why all these certificate switches all of a sudden?

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

  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Gravity is a myth. The Earth just sucks.   
---








[twitter-dev] Recommended Platform

2010-07-13 Thread SG

Is there anything like an officially recommended platform for
developing Twitter APIs? Something for which there is super-active
support and a large group of independent developers?

Thanks,
SG


[twitter-dev] Name search

2010-07-13 Thread M. Edward (Ed) Borasky
I've been experimenting with Name Search on twitter.com. I'm logged  
in, and when I enter some Twitter screen names in the search bar, for  
example, marshallk, I get a Name Results bar at the top of the  
results that says, Name results for marshallk. But when I enter some  
Twitter names, for example, znmeb, I don't get the Name Results. How  
does Search decide who gets a Name Results bar and who doesn't?

--
M. Edward (Ed) Borasky
http://borasky-research.net http://twitter.com/znmeb

A mathematician is a device for turning coffee into theorems. - Paul Erdos