twitter

Twitter Search API: Determining Conversations

Twitter's REST API returns a in_reply_to_status_id value for tweet statuses, yet the Search API does not. What puzzles me is, if you search using the http://search.twitter.com/ webpage directly, tweets that are in reply to another tweet contain a "Show Conversation" link, but when searching using the API directly, there doesn't seem to ...

window.opener null after redirect?

So I'm adding a "sign in with Twitter" button onto my web site. I display the twitter sign in in a popup window. When the user signs into to twitter they are redirected back to a page on my site which calls a javascript function on the window.opener to notify the page that sign in has completed and to refresh. The problem is after twi...

My iPad App Will Include a Twitter Widget. Will Apple or Twitter Have Issues With This Usage?

For the iPad imaging app I am writing I have include the ability to email a friend or send a Twitter tweet for world-of-mouth marketing. Here is what my Twitter widget currently looks like: Am I asking for trouble by using the Twitter logo in this manner? Will this send up a red flag in the Apple app approval process? Thanks, Doug ...

Android share comment on twitter

Android: I am having social networking application made by me, in which you can post comments, i want to facilitate user to one click share posted commented on user's twitter. ...

Problem with Javascript Date function in IE 7, returns NaN

I have a twitter feed and I create a new date obj so I can format the date to my liking. var created = new Date(this.created_at) works in firefox and chrome but not in IE7. I seem to be having trouble passing the date through the new Date() function. It just returns undefined and NaN. Here is the code. If you try to test it out don't ...

Getting HTTP 400 on randome times on hitting url to get Twitter followers/friends - java

I am developing an application on Twitter. And Twitter is giving me response of 400 on random times. I am in panic. Their servers are too bad to entertain requests. I am hitting their REST URL to get followers with cursor. Some times I get first 100 followers and on second cursor iteration I got HTTP 400. Only one attempt gave me my 3...

Single package to allow signing in with oauth through several social networks?

I'm looking for a way to allow users to sign in to my site using Twitter, Facebook, LinkedIn, and Google. A good example of a site that does this is Answers.com, on the homepage they have a set of buttons, and each button gives a simple pop up window to confirm the connection. I know that I can implement each connection individually, bu...

Android OAuth: Exception on retrieveAccessToken().

I'm setting up OAuth for my Android app. To test it I did the following: Added signpost-core-1.2.1.1.jar and signpost-commonshttp4-1.2.1.1.jar to my project, added the variables "CommonsHttpOAuthConsumer consumer" and "CommonsHttpOAuthProvider provider" and did the following when the button is clicked: consumer = new CommonsHttpOAuthCon...

Tweepy API: how to get a user's id from a status SearchResult object?

I'm trying to write a script to follow people on twitter. The tweepy API seems pretty good, but I'm running into some unintuitive behavior related to the mapping from user's ids to their screen names. In [1]: import tweepy In [2]: api = tweepy.API() # get an arbitrary tweet In [3]: tweet = api.search("anything")[0] In [5]: tweet.text...

Can't connect to Twitter API in AS3

I'm trying to connect to the Twitter API via an AS3 app, but I keep getting Error #2032: Stream Error. URL: https://api.twitter.com/oauth/request_token When I try URLRequest("https://api.twitter.com/oauth") it at least loads something and calls my Event.COMPLETE listener. Can Flash just not connect to the Twitter API without a third-pa...

Google Reader - > create tweets, push to mysql database

Hi All, I need to be able to create tweets from shared items on google reader (like reader2twitter does) and then push them for storage in a MySQL database. I know that the shared feed from reader is an atom feed, but beyond that, not even sure where to start. Can someone please point me to some resources, or tips on how I would eve...

De-authorizing a twitter OAuth application

We just finished implementing OAuth in our RoR application using the Twitter gem. The whole authentication process works perfectly and we are able to persist access tokens. We're wondering if there's a way for our de-authorize our access to twitter via our website. I realize we could just destroy the persisted token, but I'd also like to...

Twitter API Request Limit Problem

I've written a small java program to download all friends' and followers' profile pictures from twitter. But i'm getting an error because only 150 requests per hour per IP address is allowed. the exact error is: twitter4j.TwitterException: 400:The request was invalid. An accompanying error message will explain why. This is the status...

How do i refresh my Twitter API every 15 seconds?

I was successful in installing the TWITTER API jquery script, but I can't figure out how to make the script refresh with the latest tweets without refreshing the entire page IN 15 SECOND INTERVALS. Is it possible to use a .load or refreshID to reload script? Can I also include a fade in and fade out when the function reloads? Anyone d...

Twitter Login Authentication in Android?

Hi Folks, I have to do Login Authentication to post the tweets. I got the Jtwitter.jar and SignPost.jar file from this link. As far as i searched, the xAuth Authendication is more efficient. But i did not get any simple tutorial or piece of code for Login Authendication yet. I found this Article and used this code. thats get NullPointer...

Change Twitter stream filter keywords without re-opening stream

Is it possible to change the filter keywords on a Twitter stream while it's open? I'm looking to follow the second point of the http://dev.twitter.com/pages/streaming_api pre-launch checklist, "Creating the minimal number of connections", and avoid closing and re-opening the stream each time the keywords I wish to follow change. ...

How do you access the parent window when you open a popup window to oauth with twitter using gwt?

I got oauth working fine with twitter in my GWT app. However, when I use Window.open() to try and do the oauth flow, get a successful oauth, and twitter redirects the newly opened window to my callback url, I have an issue. The only way I can see to close the window is to use JSNI and call $wnd.close(). After I close the window I am u...

How do I chomp a redirect url in rails? I'm having trouble with Twitter's OAuth

I'm having a pretty bizarre and frustrating problem with Twitter's API. The oauth process is working just fine locally but once I put the site on heroku it automatically adds the url of the testing server and redirects to a broken page. This is the code: def oauth oauth = Twitter::OAuth.new('*','*') request_token = oauth.requ...

Shorten link before sending to Twitter

I have a PHP loop that displays different headlines and their links. I'd like to send those links to Twitter with an auto-generated short link via Bitly. This is how the link is structured: <a href="http://twitter.com/home?status=This is the headling {dynamic Permalink}">Share on Twitter</a> How can I create a shortened link after the...

Twitter API/Query to search in user profiles?

Is there some way I can search in the profiles of users on Twitter? e.g. User A has mentioned that he is "security, hacking geek" and his website is http://hackme.com Now i want to search in 2 ways: Search for "security" or "hacking" in user profiles and all users including A who have the word security in their profiles will be retur...