[twitter-dev] Problem - SSL CA cert

2010-11-25 Thread Georgooty varghese
Dear Twitter,

I have developed a twitter application in C language using Libcurl. I have
used xAuth authentication.The application was working in PC as fine. I am
special thanks to twitter engineers for helping to me successfully
completion of twitter application in PC. Now I am facing a critical issue.
My C code is inegrating into embedded environment (board), I got SSL
certification pblm when query accesstoken(HTTPS).  I can't get the
accesstoken.
What certificates do I need when I use SSL?.
What certification need twitter for SSL(HTTPS).? How to get the secure SSL
certificate?

Could u please help me?. I am waiting for your reply..

Regards,
George

-- 
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] Problem - SSL CA cert

2010-11-25 Thread Cameron Kaiser
 I have developed a twitter application in C language using Libcurl. I have
 used xAuth authentication.The application was working in PC as fine. I am
 special thanks to twitter engineers for helping to me successfully
 completion of twitter application in PC. Now I am facing a critical issue.
 My C code is inegrating into embedded environment (board), I got SSL
 certification pblm when query accesstoken(HTTPS).  I can't get the
 accesstoken.
 What certificates do I need when I use SSL?.
 What certification need twitter for SSL(HTTPS).? How to get the secure SSL
 certificate?

http://curl.haxx.se/docs/sslcerts.html

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Bugs of a feather flock together. -- Russell Nelson 

-- 
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] report_spam 502 responses

2010-11-25 Thread Tim
I expect 502s from time to time, but I seem to get more 502s from the
report_spam method than from any other.

Spot-checking just now shows Over Capacity in the HTML response at a
time when other services are responding normally. I wonder if this
method has less resources devoted to it than others?

I'm seeing no warnings at http://dev.twitter.com/status


Below is an example HTTP exchange from just now:


 POST 
 /1/report_spam.json?id=54064198oauth_consumer_key=LzBQTRb9wqO9iftKNYsAoauth_nonce=1290690233.110396oauth_signature_method=HMAC-SHA1oauth_timestamp=1290690233oauth_token=16683251-U0uJA6aoZ8BjqIMSf5duRYSGwN9ob7vkJhbd4VAaYoauth_version=1.0oauth_signature=1xHFH6qsrwlz3AOKKQWQBMDO1N0%3D
  HTTP/1.0
 Host: api.twitter.com
 Connection: Close


 HTTP/1.1 502 Bad Gateway
 Date: Thu, 25 Nov 2010 13:03:53 GMT
 Server: Apache
 Set-Cookie: k=78.86.231.80.1290690239011550; path=/; expires=Thu, 02-
Dec-10 13:03:53 GMT; domain=.twitter.com
 Last-Modified: Thu, 25 Nov 2010 01:27:16 GMT
 Accept-Ranges: bytes
 Content-Length: 4833
 Vary: Accept-Encoding
 Connection: close
 Content-Type: text/html; charset=UTF-8

 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
 html xmlns=http://www.w3.org/1999/xhtml; lang=en xml:lang=en
   head

   h2Twitter is over capacity./h2
.

-- 
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: Help Getting Started with Site Streams

2010-11-25 Thread Jayrox
I'd really like to make my own site stream library. Ive been white
listed for the site stream and have been using the origional stream
for a long time now.
My issue is that I cannot get any response from connection besides 401
Unauthorized. Based on that I assume the following to be true: I have
access because I am no longer getting the role not defined for user
message, or however it was worded. Based on that I also assume I am
using the wrong connection params for providing my oAuth credentials
or I am giving the wrong oAuth credentials. Or maybe I am using the
right credentials but with the wrong param names. Ive tried:
oauth_token_key/oauth_token_secret, oauth_key/oauth_secret, access_key/
access_secret,  access_token_key/access_token_secret, consumer_key/
consumer_secret, consumer_token_key/consumer_token_secret
Ive tried all of the combinations as GET and as POST.
All of which have given a 401 Unauthorized. Which leaves me here:
stuck and looking for help. :)

On Nov 25, 12:05 am, Nancy Neira n143dra...@hotmail.com wrote:
 Jay

 You looking for code patch or the actual code to do streaming?
 Nancy







  Date: Wed, 24 Nov 2010 23:53:21 -0500
  Subject: [twitter-dev] Help Getting Started with Site Streams
  From: jay...@gmail.com
  To: twitter-development-talk@googlegroups.com

  I am trying to get started with the Site Streams. However, I am having
  a hard time finding the documentation for getting the stream started.
  Anyone know where I can find this info or able to provide it?
  I think I just need to know the names of the params, I can probably
  figure out the rest. 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-dev] Re: geocode question

2010-11-25 Thread disc31
thanks that was very helpful i just have 2 more questions:

1. im now using http://search.twitter.com/search.json?
geocode=37.781157,-122.398720,1mi if u want to extend my search to
the whole world i cant do this within this code  can i? (because there
is only a limited distance you can extend in miles)

2 . it seems that i am also getting limited on how many times i can
run this quiry, because i need a constant flow of data, and if i am
correct (which i probably not) it limits me to 150 quirys an hour. how
do i change this?

On Nov 20, 5:34 am, L. Mohan Arun mar...@gmail.com wrote:
 Your 
 URL:http://stream.twitter.com/1/statuses/filter.jsonlocations=-122.75,36

 Did you add a ? after the word json and before locations...

 http://stream.twitter.com/1/statuses/filter.json?locations=-122.75,36...

 When I input this url in my browser it starts reading the json
 stream.
 Try it in your browser
 Ref:http://dev.twitter.com/pages/streaming_api_methods#locations

 If you are not intending to track
 real time tweets on a map then you may want to use the Search API and
 not streaming.

 See The Streaming API is distinct from the two REST APIs as Streaming
 supports long-lived connections on a different architecture. I think
 using Search API will be easier for you than Streaming because the
 connection is more or less permanent with streaming and you need to
 have code for handling continuous streaming.

 Try 
 thishttp://search.twitter.com/search.json?geocode=37.781157,-122.398720,1mi

 This is from Search API.http://dev.twitter.com/doc/get/search

 You can use the latitude, longitude and radius parameters as specified
 in the Search API.
 To use the geocode parameter you neeed convert the lat/lon value to
 geocode usingwww.mygeoposition.com...

 ~~~ Mohan Arun ~~~

-- 
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/friends_timeline returning Not Found

2010-11-25 Thread wennit
I have just moved over to OAuth and while my script can return results
for statuses/home_timeline when i use statuses/freinds_timeline i get
a 'Not found' reponse.
I cant understand why unless this is just an error on the twitter
servers

-- 
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] Does backtype offer better searching for a URL than the twitter api?

2010-11-25 Thread Ben Richardson
I'm trying to search the API for a specific URL (non-shortened) but am
getting different results on how many times the URL has been tweeted.
The URL I'm using for this example is 
http://groups.google.com/group/twitter-development-talk

http://urls.api.twitter.com/1/urls/count.json?url=http://groups.google.com/group/twitter-development-talk
Shows a count of 42
http://search.twitter.com/search?q=http://groups.google.com/group/twitter-development-talk
doesn't give me any results
http://www.backtype.com/page/groups.google.com/group/twitter-development-talk/conversations
shows 151 tweets

It looks like backtype does a better job of the shortened links, but
from my testing the twitter api will find the results from the
shortened URL's *sometimes*.

I've also found that backtype can return more results than the twitter
api. For example:

http://search.twitter.com/search?q=http://37signals.com/rework/ gives
me about 30 tweets going back about a week.
http://www.backtype.com/page/37signals.com/rework/conversations gives
me 3,836 tweets going back much further.

So I guess I'm asking if it's possible that backtype is providing a
much better search than twitter, or I'm doing something wrong. It
seems like backtype is somehow grabbing every tweet - is that even
possible? It just doesn't seem right that they can be offering a
better search results of twitters data than twitter can (they also
seem to do a better job on shortened URL's than Google which returns
the same results as twitter).

-- 
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: Text-only Tweet link

2010-11-25 Thread Ian
Hi Edward,

Thanks for the offer of help.

You'll see the problem if you view the Textised version of this very
page -

http://www.textise.net/showText.aspx?strURL=http%3A//groups.google.com/group/twitter-development-talk/browse_thread/thread/44f27819669d4d62%3Ffwc%3D1%26pli%3D1

The Share via Twitter link (at the top) works but, as I mentioned,
it opens full screen and with no text (page title or whatever) before
the shortened URL. On the other hand, the Tweet button on my home page
(http://www.textise.net) works fine because I've left the button class
in.

Any ideas?

Cheers,
Ian

On Nov 21, 11:52 pm, Edward Hotchkiss edw...@edwardhotchkiss.com
wrote:
 Hey Ian,

 Cool to see someone observing standards that count and helping with 
 screen-readers. You could use links vs. images or roll your own. If you want 
 help on this I'll help you [obviously free of charge]. This makes me think.

 Best,

 --
 Edward H. 
 Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/notward/
 --

  edward.png
 3KViewDownload



 On Nov 21, 2010, at 8:01 AM, Ian wrote:







  Hi,

  I run a site called textise.net that converts web pages into text.
  This is used by many kinds of people, including the blind and
  partially-blind.

  I'd like to add a Tweet link to the text-only pages but, for obvious
  reasons, I don't want to display an image (button).

  I've been able to display text by removing the class=twitter-share-
  button but now find that the tweet opens full-screen and without the
  page title or data-text, i.e. the default tweet consists of the
  shortened URL only.

  Is there something I should be doing differently?

  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: Text-only Tweet link

2010-11-25 Thread Edward Hotchkiss
Check out the query string parameters: a 
href=http://twitter.com/share;Tweet/a

if you use these you can do text-only. what are the reqs? just not open full 
window? send me what you need and i'll set it up.

- edward

On Nov 25, 2010, at 12:44 PM, Ian wrote:

 Hi Edward,
 
 Thanks for the offer of help.
 
 You'll see the problem if you view the Textised version of this very
 page -
 
 http://www.textise.net/showText.aspx?strURL=http%3A//groups.google.com/group/twitter-development-talk/browse_thread/thread/44f27819669d4d62%3Ffwc%3D1%26pli%3D1
 
 The Share via Twitter link (at the top) works but, as I mentioned,
 it opens full screen and with no text (page title or whatever) before
 the shortened URL. On the other hand, the Tweet button on my home page
 (http://www.textise.net) works fine because I've left the button class
 in.
 
 Any ideas?
 
 Cheers,
 Ian
 
 On Nov 21, 11:52 pm, Edward Hotchkiss edw...@edwardhotchkiss.com
 wrote:
 Hey Ian,
 
 Cool to see someone observing standards that count and helping with 
 screen-readers. You could use links vs. images or roll your own. If you want 
 help on this I'll help you [obviously free of charge]. This makes me think.
 
 Best,
 
 --
 Edward H. 
 Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/notward/
 --
 
  edward.png
 3KViewDownload
 
 
 
 On Nov 21, 2010, at 8:01 AM, Ian wrote:
 
 
 
 
 
 
 
 Hi,
 
 I run a site called textise.net that converts web pages into text.
 This is used by many kinds of people, including the blind and
 partially-blind.
 
 I'd like to add a Tweet link to the text-only pages but, for obvious
 reasons, I don't want to display an image (button).
 
 I've been able to display text by removing the class=twitter-share-
 button but now find that the tweet opens full-screen and without the
 page title or data-text, i.e. the default tweet consists of the
 shortened URL only.
 
 Is there something I should be doing differently?
 
 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


Regards,


Edward Hotchkiss
edw...@edwardhotchkiss.com
http://www.edwardhotchkiss.com/




-- 
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] Error creating tweets by API

2010-11-25 Thread Luis Victor Quintas
Hello everybody,

I created an application using the Twitter API, the TwitVou.com. It is
an application for creating invitations and see who will participate.

Whenever you create an invitation or a user participates in an
invitation, the application publishes a tweet.

A few days ago that is no longer publishing the tweets, and returns
the error 400 or 401. When I try to publish other texts, works
normally by the API.

Anyone know that it might be?

Regards,

Luís Victor Quintas

-- 
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: Does backtype offer better searching for a URL than the twitter api?

2010-11-25 Thread Norhidayah Azman
Yeah I'm using BackType's API for the same reasons you mentioned
above, but primarily because of the how they resolve shortened URLs


On Nov 25, 6:57 am, Ben Richardson ben.mark.richard...@gmail.com
wrote:
 I'm trying to search the API for a specific URL (non-shortened) but am
 getting different results on how many times the URL has been tweeted.
 The URL I'm using for this example 
 ishttp://groups.google.com/group/twitter-development-talk

 http://urls.api.twitter.com/1/urls/count.json?url=http://groups.googl...
 Shows a count of 
 42http://search.twitter.com/search?q=http://groups.google.com/group/twi...
 doesn't give me any 
 resultshttp://www.backtype.com/page/groups.google.com/group/twitter-developm...
 shows 151 tweets

 It looks like backtype does a better job of the shortened links, but
 from my testing the twitter api will find the results from the
 shortened URL's *sometimes*.

 I've also found that backtype can return more results than the twitter
 api. For example:

 http://search.twitter.com/search?q=http://37signals.com/rework/gives
 me about 30 tweets going back about a 
 week.http://www.backtype.com/page/37signals.com/rework/conversationsgives
 me 3,836 tweets going back much further.

 So I guess I'm asking if it's possible that backtype is providing a
 much better search than twitter, or I'm doing something wrong. It
 seems like backtype is somehow grabbing every tweet - is that even
 possible? It just doesn't seem right that they can be offering a
 better search results of twitters data than twitter can (they also
 seem to do a better job on shortened URL's than Google which returns
 the same results as twitter).

-- 
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: include_entities option for search API

2010-11-25 Thread _ado
*bump*

This would be a really useful feature to have as it would allow
tighter integration with the other API calls.

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