twitter-api

urllib.request in Python 2.7

I can use urllib.request module with Python 3.1. But when I execute the same program using Python 2.7, an error comes along the lines of; AttributeError: 'module' object has no attribute 'request'. I believe this error is because theres no request module in urllib for Python 2.7. Because I need to use tweepy i'll have to stick with Py...

@iPhone : how to create twitter + OAuth custom login in our application

hi all. I am making iphone application. In that I am integrating Twiiter using OAuth. My question is I want my own login page and not provided by twitter as in new OAuth integration the twitter is providing. Is the same possible to create & pass username and password to the twitter for accessing twitter by making custom login page in ...

Simple way for read only twitter api usage

Hello, probably like many people my site has been affected by twitter deprecating basic authentication, so I was looking at implementing OAuth. But all I want to do is just pull the last couple of tweets from my account - I don't need to post anything, it's just readonly access to the user timeline. I've seen a couple of posts showing ho...

Twitter Streaming API with oAuth with Python

Hello, I've been trying to search for a good Module to in order to use twitter live streaming API and Python. I have found "tweepy" but it seems like it is using the "Basic Authentication" which is now deprecated. Is there any new module out there to use for that purpose that use oAuth? Thanks, Joel ...

Zend Framework Twitter Service Requires Authentication for UserTimeline?

Hello, I am using the Zend_Service_Twitter class to retrieve my userTimeline, however since August, I am no longer able to use Basic Authentication. This is perfectly fine, since userTimeline does not require authentication at all. Strange enough, Zend_Service_Twitter thinks userTimeline requires full authentication (using oAuth tokens...

Creating a reply using PHP and the Twitter API

This is the PHP code im using in conjunction with jQuery .ajax to create a new Tweets: /* Create a TwitterOauth object with consumer/user tokens. */ $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, $access_token['oauth_token'], $access_token['oauth_token_secret']); $qtweet = $_POST['tweet']; $connection->post('stat...

Twitter and Javascript

I just came across something extremely annoying that took me ages to figure out. I was calling window.open('http://www.twitter.com/share?url=...&text=...','twitterShare','width=500,height=400') in a JS function for a SWF file to trigger and for the life of me the freakin' message wouldn't properly unencode hashtags and spaces (%23 an...

Twitter follower demographics?

Any ideas on how I can get location, age and gender of my followers on Twitter? I know that Twitter can only give me location (not always), by looking at either time-zone or location. But I have seen other applications presenting the demographics of my followers and I have no idea how they do it? Is it fake? ...

Streaming API with languages

Hello, Is there anyway i can retrieve only English tweets using the Twitter's Live Straeming API? It seems like using "sample" or "filter" results around 60-70 percent of non-English tweets. Thanks Joel ...

twitter retweets api

I'm using twitter gem as a library to work with twitter api. I've noticed a weird issue with getting retweets for the tweet. Whenever I make a call I get only retweets from my mutual connections. So, if someone retweets my post I'll never be able to get that retweet using proper api call. However, search function might be a solution for...

Twitter Trends on iPhone app - iPhone Developer

Hi everyone, I am trying to display trends from twitter on a certain topic in my iphone app such that users can see what people really say about a topic on my app. Has anyone tried this before? Is this possible. I found twitter widgets that can do this but only for websites. Praveen ...

How to show all tweets from twitter website

I m using twitter home page using twitter Api in my local website in which tweets send by own is shown but all the tweets send by any other person are not visible... how can i see all the tweets in my website in local machine... ...

Twitter API, Linked In API in PHP

I am looking for a simple script that I can use to send some text to Twitter, and Linked in. The objective is to be able to have a simple sample PHP script that looks something like this: <html> <head> <title>Twitter and Linked In API</title> <script type="text/javascript" src="jquery.js"> </head> <body> <?php $dummy_tx...

How do I Pull in errors when attempting to tweet from an iOS app using the Twitter+OAuth API?

How do I properly setup the callback method for a status update using the Twitter+OAuth API? (http://github.com/bengottlieb/Twitter-OAuth-iPhone) Right now I'm using the following to determine if a request succeeded: - (void)requestSucceeded:(NSString *)connectionIdentifier { NSLog(@"Statuses Sent"); //[loadingActionSheet dismissWithCl...

Where can I see how many users my Twitter-Application?

I created a Twitter-Application and want to know how many user use it (gave access to it). I also remember seeing such a value when I was developing it, but can't find it anymore. Can I see it somewhere or is my mind playing games with me? ...

Trouble decoding twitter local trends json with php

im having trouble extracting the trend name and search query from the json response $init = 'http://api.twitter.com/1/trends/1.json'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$init); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); $result = curl_exec($ch); curl_close($ch); $obj = json_decode($result); foreach ($obj->trends as $trend)...

Add tweet button on wordpress blog

Hi, I have been trying to put twitter's new tweet button on my wordpress blog. I have tried code provided on official twitter website, and couple of wordpress plugins to add tweet button on the blog. But on every try I am running into same issue. When I click on tweet button it goes to the twitter website but says url' parameter does n...

How to get the Twitter dialogue view after authorisation, before publishing a tweet?

I have successfully used the Twitter-OAuth-iPhone for the authorisation, and can update the tweet from the App. However, I want to have a dialogue view showing the tweet to the user for the user to edit and confirm before posting the tweet. Such as the screenshot: I cannot find the modal view, or other view controller, from the Tw...

how can we authenticate user via user name and password

how can we authenticate user via user name and password in my local application in asp.net by which directly we authenticate to do the tweets in local application which shows on twitter website also... Please do the needful.. ...

Twitter posts counts

I'm using Twitterizer in my application. I want to get counts of all specific tweets. The problem is that I can search only 1 week old tweets only. ...