[twitter-dev] Recipe for getting Follow button working on an https website?
I'm trying to add a follow or tweet button to a site that uses https by default. My choices appear to be scare my users with a insecure content on page or, if I change the url to https://platform.twitter.com/, an invalid certificate error. Is there an easy recipe for this? Google reveals hacks like copy everything local. Why doesn't https://platform.twitter.com/ have a valid certificate? -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: length limits for all fields
Doug, This is a post 2 years old post, but may I know where did you get this information? I went through the twitter API but could not find this. Thanks in advance, Matthieu -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Getting 401 errors trying to send direct message
Hey all, I'm playing around with the Twitter OAuth API, having rolled my own clients in both ruby and Objective-C. I've managed to authorise myself successfully and send status updates, but api methods like direct_messages/new always give me 401 errors. I know I'm missing something elementary in the way I'm making the calls, so I just want to clarify a couple of things: - From what I understand in the doc, do the parameters for a POST request go in the body? (I saw a reference to adding them as query params in the url string but that seems to have been removed). - Looking at the OAuth spec and the example on the auth page, can I assume POST parameters are ordered alphabetically along with the other params when building the base string? Do they have to be doubly url encoded? Here's a quick excerpt of the ruby client I put together: https://gist.github.com/1033130 -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Getting All Child Tweets From Paren Tweets.
hello, I m developing the iOS application which contains the twitter as one module. I wanted to know that does the Twitter provides the API for following senario: Suppose user clicks on the Patrent/Root/Main Tweet then I want all the Child tweets correspoding the Patrent/ Root/Main tweets. I observed this senario happens on the Website but not on the authorized Twitter iOS Application . -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Twitter Dev reports website contains malware
Hi, Twitter's API doesn't allow me to create an app for my site. Twitter claims that there may be malware. But Norton and Google say the site is 100% safe: http://safeweb.norton.com/report/show?url=http%3A%2F%2Finstant-webmaster.com Twitter is the only one stating the claim. Does anyone know what can trigger a malware alert on Twitter? I want to clean it from the site... Thanks, Michael -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] trending topics order
Hi there Are trending topics results, ordered from most-trendy topic to last trendy? .. .. .. consider a trends node like: trends: [ { name: Guille Franco, url: http://search.twitter.com/search?q=Guille+Franco; }, { name: #honestyhour, url: http://search.twitter.com/search?q=%23honestyhour; }, ... ... ... ... { name: Vuvuzela, url: http://search.twitter.com/search?q=Vuvuzela; } ], Question again: IsGuille Franco most trending and Vuvuzela least trending. (for these ten result) -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] how to add twitter login functionality to my site
hi i am trying to integrate twitter login functionality to my site . can some body guide me how i can integrate it. i have read the documentations but unable to find any practical example. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: ABUIKit / TwUI ?
*Bump* Also, any info about when TwUI will be available? Would love to use it in a project I'm working on. On Jun 11, 5:21 pm, SM sanja...@gmail.com wrote: I wasn't able to attend the announcement regarding ABUIKit /TwUI. Can someone provide a summary of what was presented? Thanks. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: User Search API
We've noticed this as well. Is this a bug or a permanent API change? Thanks, Raul On Jun 18, 7:32 pm, Amit Debnath amitdebnath...@gmail.com wrote: The user search API was working quite well till last friday. But now there is a problem. The first page in our site loads (20 accounts), but we can't seem to get any results for the next page(page 2 and onwards). Has the API been limtied to first 20 results? If not, then was their any other change that we should take into consideration. We're using the Jaisen Mathai library. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Twitter Authenticate displays Authorize screen and on reload it Authenticates and continues to callback
I am following everything from the documentation: http://dev.twitter.com/pages/sign_in_with_twitter I am working on a rails app and this is how my code looks like (code below uses oauth ruby gem): @consumer=OAuth::Consumer.new(key , secret, {:site=https:// api.twitter.com}) @request_token=@consumer.get_request_token(:oauth_callback = #{SITE_BASE}/callback) redirect_to @request_token.authorize_url().gsub(authorize,authenticate) URL generated is: https://api.twitter.com/oauth/authenticate?oauth_token=_REQUEST_TOKEN_ I am already logged in to twitter.com and have authorized the app. But it displays the authorize screen: Authorize Twoo Dev to use your account? All I do is reload the page and it takes me to my application's callback. Please suggest what might be going wrong. Regards, Aditya Following is the header information for the authenticate url: Response Headersview source DateMon, 20 Jun 2011 00:48:13 GMT Server hi Status 200 OK X-Transaction Etag-gzip X-Frame-Options SAMEORIGIN Last-Modified Mon, 20 Jun 2011 00:48:13 GMT X-Runtime 0.06452 Content-Typetext/html; charset=utf-8 Pragma no-cache X-Revision DEV Expires Tue, 31 Mar 1981 05:00:00 GMT Cache-Control no-cache, no-store, must-revalidate, pre-check=0, post- check=0 X-MID Set-Cookie lang=en; path=/ lang=en; path=/ _twitter_sess=; domain=.twitter.com; path=/; HttpOnly VaryAccept-Encoding Content-Encodinggzip Content-Length 2936 Keep-Alive timeout=15, max=100 Connection Keep-Alive -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: Does “~” need encode?
Thank you very much. It's useful. On Jun 18, 2:09 am, Felix Oldenburg oldenburg.fe...@googlemail.com wrote: I had the same issue with the ~ encoding. If ~ gets encoded to %7E the signature is wrong, but with a plain ~ it's fine. But if u look at abraham's php twitter library, which also implements the needed oauth functionality, u can see he also uses the non encoded ~. (https://github.com/abraham/twitteroauth) This is his url encoding method: (See OAuth.h in the OAuthUtil class) public static function urlencode_rfc3986($input) { if (is_array($input)) { return array_map(array('OAuthUtil', 'urlencode_rfc3986'), $input); } else if (is_scalar($input)) { return str_replace( '+', ' ', str_replace('%7E', '~', rawurlencode($input)) ); } else { return ''; } As one can see, the %7E gets decoded back to ~. Maybe RFC3986 is worth a look. On 17 Jun., 12:36, kamesh SmartDude kamesh.smartd...@gmail.com wrote: There might be some other problem in u r signature generation. but not about the ~ url encoding. //kamesh On Fri, Jun 17, 2011 at 1:57 PM, LoVenus pzunderta...@hotmail.com wrote: Thank you for your reply. But as I said, ifencode~, signature will be wrong. -- Twitter developer documentation and resources:https://dev.twitter.com/doc API updates via Twitter:https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Re: Does “~” need encode?
Thank you! On Jun 18, 2:18 am, Abraham Williams 4bra...@gmail.com wrote: Characters in the unreserved character set as defined by RFC3986 (ALPHA, DIGIT, -, ., _, ~) MUST NOT be encoded. http://tools.ietf.org/html/rfc5849#section-3.6 Abraham - Abraham Williams | InboxQ http://inboxq.com/ | abrah.am @abraham https://twitter.com/intent/follow?screen_name=abraham | github.com/abraham | blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private. On Fri, Jun 17, 2011 at 11:09, Felix Oldenburg oldenburg.fe...@googlemail.com wrote: I had the same issue with the ~ encoding. If ~ gets encoded to %7E the signature is wrong, but with a plain ~ it's fine. But if u look at abraham's php twitter library, which also implements the needed oauth functionality, u can see he also uses the non encoded ~. (https://github.com/abraham/twitteroauth) This is his url encoding method: (See OAuth.h in the OAuthUtil class) public static function urlencode_rfc3986($input) { if (is_array($input)) { return array_map(array('OAuthUtil', 'urlencode_rfc3986'), $input); } else if (is_scalar($input)) { return str_replace( '+', ' ', str_replace('%7E', '~', rawurlencode($input)) ); } else { return ''; } As one can see, the %7E gets decoded back to ~. Maybe RFC3986 is worth a look. On 17 Jun., 12:36, kamesh SmartDude kamesh.smartd...@gmail.com wrote: There might be some other problem in u r signature generation. but not about the ~ url encoding. //kamesh On Fri, Jun 17, 2011 at 1:57 PM, LoVenus pzunderta...@hotmail.com wrote: Thank you for your reply. But as I said, if encode ~, signature will be wrong. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter:https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources:https://dev.twitter.com/doc API updates via Twitter:https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk