[twitter-dev] Tweet from MapleBrowser in SamsungTV using XAuth API

2010-12-21 Thread mahesh
HI Team,

When I was Requesting the TwitterAPiI using xAuth From Samsung Maple
Browser I got the following Status and Response.

Status Unauthorized
Response :Failed to validate oauth signature and token.

So Can any one tell what is the reason for It.More over Same code
works in IE and Safari.I could not understand what is the problem.

-- 
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] Author Info extraction Issue

2010-12-21 Thread Manoranjan Mohanty
Hi;
I want to get author information using twitter API.
When the author name is a single word, the data is coming.But when
author name is in firstName LastName format(both separated by space)
then no info is coming.

I am using the below Query to get it.

http://api.twitter.com/1/users/show.xml ?id=value.

The below is giving me result.
http://api.twitter.com/1/users/show.xml ?id=dunkin

The below is not working...It's giving error.
http://api.twitter.com/1/users/show.xml ?id=dunkin donut

I also try with
http://api.twitter.com/1/users/show.xml ?id=dunkinnbsp;donut  but did
not work.

Please help.

Regards
Mano

-- 
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: Need help to develop twitter application, Plz reply me

2010-12-21 Thread Amine
Hello Rai,

To get a idea about Twitter Development, start by this :
http://www.slideshare.net/raffikrikorian/intro-to-developing-for-twitterapi

It will give an deep overview. Later go to this page : 
http://dev.twitter.com/doc.

Are coding in which language ?

On 21 déc, 07:16, Roopesh Rai roopesh.ra...@gmail.com wrote:
 Thank u for reply
 I am very new to this application, So not understanding basic concepts
 itself,
 can you suggest me any document to read, and having following info
    * how any user can login just by his username and password,how he
 will get authentication ???
    * how I can use this in my application, I mean design for login

  If anybody know answer and ready to share valuable time for sharing
 knowledge, plz suggest me

 regards,
 Rai

 On Dec 21, 9:24 am, Bess bess...@gmail.com wrote:

  I am surprised that no one here to response you. May be you are asking
  very basic info. You should go buy a Twitter developer book online
  ebook or from a book store.

  We are releasing a Twitter API Developer book but it is not available
  yet til next year.

  You'll need to use OAuth, not basic auth.

  Twitter OAuth Libraryhttp://dev.twitter.com/pages/oauth_libraries

  Use consumer key and consumer secret from your app settings in your
  OAuth lib.

  Your Twitter API is limited by hour and no. of tweets.

  On Dec 19, 11:28 pm, Roopesh Rai roopesh.ra...@gmail.com wrote:

   If anybody know solution to above question, Please reply me. I am very
   new to twitter application development I am confusing. I am
   trying, Googling... But, Result is nill...

   Thank U

   On Dec 15, 2:33 pm, Roopesh Rai roopesh.ra...@gmail.com wrote:

Hi all,

  I am developing twitter application. In this application without
browser user can use Twitter, I am providing user a interface to use
twitter.

  I registered my application with twitter . By Oauth I am accessing
twiiter. My doubts starts here

1) In my application I need to develop such that any user can enter
his user name and password, and he can enter to  twitter home page(In
my application), But now I am not using any username and password,
Directly using consumer key, consumer secret key, token key, token
secret key, PIN I am entering to twitter home. how i can allow other
users to use my application just by there user name and password 

2) By using statuses/home_timeline.json, I am getting only 14
timelines, How I can get all the timeline.

Thank you for Your valuable reply.

Regards,
S.R Rai

-- 
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] Implement a Twitter friends finder (like in instagram)

2010-12-21 Thread Mathieu
Hello,

I have an iphone application with its own authentication system: users
have to provide their login and password, nothing is related to
twitter.

I would like to develop a twitter friends finder like in the
Instangram app. Basically once a user is logged in Twitter, I want to
be able to find all his friends that use the application and provide a
follow button. The follow action is part of my application, it has
nothing to do with Twitter.

It seems like the iphone application Instagram does that. I have no
idea how to achieve that. I could connect the twitter users and my
application users by comparing the email addresses but the email
property is not available in the twitter API when getting followers.

Can you please give me some directions if you know how to do that ?

Thank you

-- 
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 Search API - Possible Proximity Bug

2010-12-21 Thread Corey Ballou
API call:

http://search.twitter.com/search.json?q=ands=keggeocode=35.22708600%2C-80.84312600%2C5milang=allresult_type=recentrpp=50

On Dec 20, 7:31 pm, Corey Ballou ball...@gmail.com wrote:
 It's also worth noting that while the above example may not be pulling
 a place, the API call I'll be including tomorrow uses the latitude/
 longitude pair pulled from the Google Maps API V3 geocoder with the
 same outcome.

 On Dec 20, 7:22 pm, Corey Ballou ball...@gmail.com wrote:

  Here's my non API call searches from search.twitter.com with a 5mi
  range:

  keg near:121 W Trade St, Charlotte NC 
  within:5mihttp://search.twitter.com/search?q=+keg+near%3A%22121+W+Trade+St%2C+C..

  If you extend the radius to 10mi, you'll get significantly more
  results. My office is in the heart of Charlotte at a major
  intersection as well (Trade St and Tryon St).

 http://search.twitter.com/search?q=+keg+near%3A%22121+W+Trade+St%2C+C..

  Based on the results returned from the 10mi radius, it seems to
  indicate that even though I tweeted from a Place, the tweet is being
  generalized to the parent city bounding box of Charlotte, NC. It just
  doesn't feel right; does it have to do with an optimization to avoid
  the heavy cost of performing calculations for sorting by distance?
  I'll update this post with the API call tomorrow morning when I get in
  the office. I've got it tucked away in the error logs with no root
  password in my keychain.

  In the meantime, any clarification or light you can shed on how you
  guys are calculating proximity would be much appreciated.

  Regards,
  Corey

  On Dec 20, 5:36 pm, Matt Harris thematthar...@twitter.com wrote:

   Im not entirely clear on how to reconstruct the query you are trying to
   make. Can you share the full Search URL request you are making so we can
   take a look.

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

   On Mon, Dec 20, 2010 at 1:16 PM, Corey Ballou ball...@gmail.com wrote:
While running some tests on the search API I noticed a potential issue
with the search API's proximity handling when filtering by places. If
I specify a radius of 5 miles with a search term of keg and the
address of my office building, I would expect to retrieve a previous
tweet of mine:

Tweet in question:
   http://twitter.com/cballou/statuses/15770007518584832

The status update in question was created with an associated place_id
of my office, which properly maps to the right address.

The place in question (Skookum, Charlotte, NC):
   https://search.twitter.com/search?q=place%3A5c9b53e1da87e502

Theoretically, I should be able to search within a one mile radius
with the address. In this case, the only way I'm able to retrieve my
tweet is to bump the radius up to 10 miles.  I've tested this issue
using both lat/lon coordinates with my application as well as using
your advanced search (search.twitter.com/advanced) with the full
address.

Am I missing something here? Are you associating places to the overall
city and not the exact lat/lon marker of an address? When I view the
place directly, the marker placement is indicative of having the
proper lat/lon coordinates.

Let me know if you need any clarification or additional details.

Regards,
Corey

--
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] Finding RT or replies

2010-12-21 Thread Igor Kharin
Hello, Stu.

Here's the method you are looking for:
http://dev.twitter.com/doc/get/statuses/:id/retweeted_by

On Sun, Dec 19, 2010 at 9:56 PM, Stu stuart.batter...@gmail.com wrote:
 Hi all,
 Just wondering if there is a section of the API, possibly in the REST
 API, that allows me to find all the replies and RTs to a given tweet?
 I'll have the ID of that tweet.  Am I able to pass this to the API
 somewhere?

 Thanks,
 S.

 --
 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: Oauth timeout at access_token request

2010-12-21 Thread Dave McCall
FYI, I have tried the same using https://api.twitter.com as well.
Also in step 3 I have currently changed it to https://api.twitter.com/
oauth/authorize because I believe that is the more correct URL
(though authenticate does appear to work).

Any thoughts?

-- 
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: Oauth timeout at access_token request

2010-12-21 Thread Taylor Singletary
Hi,

I'm glad you tried the api.twitter.com URI pattern as well -- as it's really
the correct one.

It is unusual for this method to take that long. Have you tried this
sequence outside of the code environment you're working in? Is there
anything about your coding environment that may be mis-detecting the
completion of the request? What kind of performance are you getting from
other calls?

Taylor


On Tue, Dec 21, 2010 at 8:57 AM, Dave McCall d...@dave-mccall.com wrote:

 FYI, I have tried the same using https://api.twitter.com as well.
 Also in step 3 I have currently changed it to https://api.twitter.com/
 oauth/authorize because I believe that is the more correct URL
 (though authenticate does appear to work).

 Any thoughts?

 --
 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] Twitter authentication on/off behavior

2010-12-21 Thread Gary
Hi all,

I have a desktop application using xAuth.  Usually, everything works
fine.  But occasionally, for a period of several days or more, the
authentication fails returning invalid-signature error.  And then, a
few days later, it starts working again without any change on my
side.  Is there something happening at Twitter, that anyone knows
about, that would cause this to happen?

Thanks,
Gary

-- 
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: Need help to develop twitter application, Plz reply me

2010-12-21 Thread roopesh rai
It is in Lua

On Tue, Dec 21, 2010 at 4:13 PM, Amine amine.benha...@gmail.com wrote:

 Hello Rai,

 To get a idea about Twitter Development, start by this :
 http://www.slideshare.net/raffikrikorian/intro-to-developing-for-twitterapi

 It will give an deep overview. Later go to this page :
 http://dev.twitter.com/doc.

 Are coding in which language ?

 On 21 déc, 07:16, Roopesh Rai roopesh.ra...@gmail.com wrote:
  Thank u for reply
  I am very new to this application, So not understanding basic concepts
  itself,
  can you suggest me any document to read, and having following info
 * how any user can login just by his username and password,how he
  will get authentication ???
 * how I can use this in my application, I mean design for login
 
   If anybody know answer and ready to share valuable time for sharing
  knowledge, plz suggest me
 
  regards,
  Rai
 
  On Dec 21, 9:24 am, Bess bess...@gmail.com wrote:
 
   I am surprised that no one here to response you. May be you are asking
   very basic info. You should go buy a Twitter developer book online
   ebook or from a book store.
 
   We are releasing a Twitter API Developer book but it is not available
   yet til next year.
 
   You'll need to use OAuth, not basic auth.
 
   Twitter OAuth Libraryhttp://dev.twitter.com/pages/oauth_libraries
 
   Use consumer key and consumer secret from your app settings in your
   OAuth lib.
 
   Your Twitter API is limited by hour and no. of tweets.
 
   On Dec 19, 11:28 pm, Roopesh Rai roopesh.ra...@gmail.com wrote:
 
If anybody know solution to above question, Please reply me. I am
 very
new to twitter application development I am confusing. I am
trying, Googling... But, Result is nill...
 
Thank U
 
On Dec 15, 2:33 pm, Roopesh Rai roopesh.ra...@gmail.com wrote:
 
 Hi all,
 
   I am developing twitter application. In this application without
 browser user can use Twitter, I am providing user a interface to
 use
 twitter.
 
   I registered my application with twitter . By Oauth I am
 accessing
 twiiter. My doubts starts here
 
 1) In my application I need to develop such that any user can enter
 his user name and password, and he can enter to  twitter home
 page(In
 my application), But now I am not using any username and password,
 Directly using consumer key, consumer secret key, token key, token
 secret key, PIN I am entering to twitter home. how i can allow
 other
 users to use my application just by there user name and password
 
 
 2) By using statuses/home_timeline.json, I am getting only 14
 timelines, How I can get all the timeline.
 
 Thank you for Your valuable reply.
 
 Regards,
 S.R Rai

 --
 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] what id_str, how to use id_str,right now im using id only

2010-12-21 Thread Rajesh .
could u tell me how can i get JSON responses.


On Tue, Dec 21, 2010 at 2:19 AM, Matt Harris thematthar...@twitter.comwrote:

 Hi,

 The id_str is only returned in the JSON responses as it isn't needed in the
 XML response.
 The XML response returns all data as a string so a unique *_str field isn't
 required.

 Hope that helps,

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



 On Mon, Dec 20, 2010 at 12:05 AM, Rajesh ssrajesh@gmail.com wrote:

 hi,

 right now im using id to for status update,
 how to use id_str,
 how can i get id_str?

 im using twitter api on my php page..

 ex follower response is

 20/December/2010 13:22:51: SimpleXMLElement Object
 (
[...@attributes] = Array
(
[type] = array
)

[user] = Array
(
[0] = SimpleXMLElement Object
(
[id] = 17949969
[name] = MattsLens
[screen_name] = MattsLens
[location] = Grand Rapids, Michigan
[description] = MattsLens.com utilizes
 photography  Social Media to help individuals and businesses develop
 and improve their online presence.
[profile_image_url] =

 http://a3.twimg.com/profile_images/1118820404/MattsLens_Logo_2010_normal.jpg
[url] = http://wefollow.com/MattsLens
[protected] = false
[followers_count] = 453
[profile_background_color] = 0f0f0f
[profile_text_color] = 66
[profile_link_color] = 1A6DC5
[profile_sidebar_fill_color] = 212020
[profile_sidebar_border_color] = 404040
[friends_count] = 620
[created_at] = Sun Dec 07 23:08:22 + 2008
[favourites_count] = 3
[utc_offset] = -18000
[time_zone] = Eastern Time (US  Canada)
[profile_background_image_url] =

 http://a0.twimg.com/profile_background_images/158496637/xac4b1478dba4c3be11d522b5b3ed6a7.jpg
[profile_background_tile] = false
[profile_use_background_image] = false
[notifications] = false
[geo_enabled] = false
[verified] = false
[following] = true
[statuses_count] = 2683
[lang] = en
[contributors_enabled] = false
[follow_request_sent] = false
[listed_count] = 71
[show_all_inline_media] = false
[is_translator] = false
[status] = SimpleXMLElement Object
(
[created_at] = Mon Dec 20 05:31:44 +
 2010
[id] = 16727427753443328
[text] = Just added myself to the
 http://wefollow.com twitter directory!
[source] = a href=http://wefollow.com;
 rel=nofollowWeFollow/a
[truncated] = false
[favorited] = false
[in_reply_to_status_id] =
 SimpleXMLElement Object
(
)

[in_reply_to_user_id] = SimpleXMLElement
 Object
(
)

[in_reply_to_screen_name] =
 SimpleXMLElement Object
(
)

[retweet_count] = 0
[retweeted] = false
[geo] = SimpleXMLElement Object
(
)

[coordinates] = SimpleXMLElement Object
(
)

[place] = SimpleXMLElement Object
(
)

[contributors] = SimpleXMLElement Object
(
)

)

)
 )

 for get connection i used the below code

 * Assues there is already a valid token available for this user
*/
public function getConnections($token)
{
global $logger;
$twitter_con_arr = array();
if ($token == null)
return $twitter_con_arr;

// Use HTTP Client with built-in OAuth request handling
$client = $token-getHttpClient($this-option_array);

// to get Twitter connections
$client-setUri('
 

[twitter-dev] Re: @Anywhere follow and update events?

2010-12-21 Thread Jonathan Strauss
I have seen similar requests come up a number of times on this list
and never any response from Twitter. This is something that would make
@Anywhere much more extensible and I'd love to see it.

@themattharris or @episod, any thoughts?

-jonathan

On Dec 13, 1:39 pm, Jim Spath jsp...@pangeamedia.com wrote:
 Hi,

 I am using the hovercards and T.Status.update() functionality in
 @Anywhere.

 I was wondering if it possible to specify event callbacks when the
 user has successfully followed or tweeted.

 I've looked through the documentation and searched and didn't seen
 anything, but maybe I missed something?

 Thanks!
 Jim

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