Hi,
I'm trying out the twitter streaming api. I could succesfully filter tweets by using curl, as stated here:
curl -d @tracking http://stream.twitter.com/1/statuses/filter.json -u <user>:<pass>
where tracking is a plain file with the content:
track=Berlin
Now I tried to do the same thing in JavaSE, using Apache's HTTPComponents:
...
I'm writing a tool in our web app to allow our users to tweet certain things about our app via the Twitter API. In all the documentation I've seen the Twitter API has you submit the user's username and password via XML or JSON. It would make sense from a usability standpoint to save the username and password for easy reuse (so they don't...
I'm using OAuth in my web app, and users can login with twitter.
I want to add "switch twitter account" button, which actually clears the session and then opens the authorize_url.
As clearing the session in my web app doesn't log out of twitter, the authorize_url will automatically authenticate the current twitter.com user. That means ...
How can i get All my followers with one request?
If i do $this->twitter->getFollowers();
I just get 100 of my followers;
An here is the code for getting followers
/**
* Returns the authenticating user's followers.
*
* @return array
* @param string[optional] $id The id or screen name of the user for whom to request...
Dear all,
So far I have been trying to update the twitter profile bg image thr the twitter api with php... and without success
Many examples on the web, including this one:
http://stackoverflow.com/questions/1483163/updating-twitter-background-via-api
and this one
http://stackoverflow.com/questions/1485136/twitter-background-upload-wi...
I have a web application that is integrating with Twitter's OAuth API. I registered my application with Twitter putting my application's homepage as the callback URL intending to use the oauth_callback querystring parameter to define the actual callback URL. The reason I can't just enter it in with the Twitter application form is because...
I'm porting a rails app to grails that uses oauth to push messages to Twitter. Any suggestions for groovy or java examples or opinions on the various libraries mentioned on the twitter site for java?
...
Im looking at the Twitter API: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0update_profile
I want to update my profile via PHP.
Specifically my location: San Francisco, CA
Im not looking for anything fancy, just a way of calling the XML, checking its contents, then writing in a new value if appropriate.
Can anyo...
Here is the function im trying to us, its held in a file called function.php
public function updateProfile($name = null, $email = null, $url = null, $location = null, $description = null)
{
// validate parameters
if($name === null && $email === null && $url === null && $location === null && $descriptio...
I have a log file which stores search terms I want to run agasint a twitter search.
I have the following which basically searches for 1 value, however the CSV contains a number of values to search.
How can I adjust the below to find the file: searchterms.txt
Read in the comma seperated values, then search each one independantly.
Als...
Im looking for a way of running a Twitter Search (Automated via CRON) that will search for a list of terms held in a text file.
Once it finds those terms I want it to write to results to a text file. Can anyone suggest anything? Simpler the better.
Edit
Seems I may not have been too clear,
I want to be able to Search Twitter, based...
I am writing a web app that needs Twitter user's profile photos only. I retrieve these by parsing the users/show XML unauthenticated API call (http://apiwiki.twitter.com/Twitter-REST-API-Method:-users%C2%A0show):
$twitterXML = simplexml_load_file("http://twitter.com/users/show/".$twitterUsername.".xml");
In my testing I have been hitt...
i have a twitter web app that allows users to submit tweets from my site. however they have to re login everytime they submit a new tweet. is there a way to save the oauth session and don't prompt the login screen until users clear browser cache?
...
i'm using tweetsharp to allow users to log into my site with their twitter account. the first time through, they need to give permission through twitter to access my site. fine. but this happens after the first time too. is there a way to avoid this?
...
I am creating a webapp that relies on following a status timeline from twitter in php
I am making a request to the twitter using the following API call:
$since_id is equal to a stored id based on the last parsed tweet.
$req_url = 'http://twitter.com/statuses/friends_timeline.xml?count=20&page=1&since_id='.$since_id;
I have no...
Hi
New to the Twitter API, but need to choose between 3 different Actionscript libraries available for the Twitter API.
Has anyone used either TwitterScript, SWX Twitter, or Tweetr and knows some of the pros and cons of each?
...
How to pass additional parameters to this twitter update api by using curl from terminal?
http://twitter.com/statuses/update.xml
Say I need to pass replyto user id as given in the documentation. Although I could simply append @username before the message, I need user id based and @user_id didn't work.
...
Hi
I am using Twitter4J API on GAE/J.
I want to use the request token when user came to my page. (called back URL). And press refresh button. I write following code for that. But When user press refresh button. I got Authentication credentials error. Please see the stacktrance. It works fine when user first time used that token.
Ho...
Hello friends,
I am developping an ANDROID smùall application. It will just handle connecting et and managing one facebook and twitter account.
How this can be done on ANdroid plateform ?
Can someone show me a ressource wich can help me
Thank you GUYS
...
Hello,
I want to develop a web application that uses the Twitter API. Before going any further there are some questions that require answer:
Should I store on my server the list of followers/following or should I query the API each time?
Same as 1 but for tweets instead of people.
If I store messages in my application, search should b...