twitter

Twitter Turning off Basic Auth - is OAuth overkill for some tasks?

According to Twitter docs, basic auth is being turned off this month. I can see the benefit of OAuth when your service accepts third party user twitter login/id's, but for a simple twitter bot that simply post to a single bot twitter account, does OAuth seem like overkill? In the case of the latter, what's the least resource-expendful...

Simplest way to post Twitter status update to a dedicated account in Java

Hi, I am looking for a very simple way to post status updates to a dedicated Twitter account. Currently we are using a POST request to https://api.twitter.com/1/statuses/update.xml with https basic auth. But Twitter is going to disable this API: http://apiwiki.twitter.com/Authentication This oauth stuff is really, really complicated a...

twitter connection needs to be closed?

i developed an aplication built on twitter api , but i get erorrs like a mesage that i've parsed and deleted to be parsed again at the next execution , could that be because i left the twitter connection opened or is just a fault of the twitter API. I also tried to delete all direct messages because it seemed too full for me but i...

Consuming RSS feeds in ASP and C#

I'm working on making a modification to a site built with ASP/C#, and one of the tasks was to add in the display of 2 RSS feeds - one from the site's internal blog, and the other from the site's Twitter account. However, I seem to continually get empty feeds from both, even though I've confirmed that I'm pointing to the correct URL of th...

How would I find all the short urls that link to a particular long url?

Basically I want to know how many people have tweeted a link to a url, but since there are dozens of link shortener out there I don't see any way to do this without having access to all of their url maps. I found a previous question here but it was over a year old and didn't have any new answers. So #1, does anyone know of a service/AP...

tweet this link in rails app

I am surprised I couldn't find it on google, what's the best way to add a "tweet" this link to post a url and a description to the user's twitter account? ...

How can we get details from twitter and facebook using PHP

Hey How can we get details from twitter and face book using PHP suppose think that i am developing a site which have Twitter and Face book Log in, i will have only a user name not so much details,that's why i am asking, how can i get details like, DOB,Address,Current Town, Country So on ...

Android + OAUTH + TWITTER callback problems

Hello, I am making a twitter client for android. While retrieving the request token i want to pass a URI so that my activity can be resumed. I keep getting error with this. However when i tried passing null it the browser opens up but it doesnt go back to the activity. I am attaching my code below: protected void onCreate(Bundle ...

Android Twitter App Source Code

I've been reading this post on the android developer blog about the twitter client and UI patterns. It mentions the source code will become available, does anyone know if this has happened yet and where I can find it? I've drawn a blank. Thanks! ...

trying to put a php variable into the code for the "twitter for wordpress" plugin

Hi I am using the 'twitter for wordpress' plugin to display the last tweet in wordpress. it works fine but needs the username for the twitter account harcoded into the line of code: <?php twitter_messages('myaccount', 1, false, false, false, true, true, false); ?> What im trying to do is replace 'myaccount' with a variable ...

twitter direct messgae

Hai, I am using oauth for display followers list,Now I want to send message to any one who is NOT my follower of my twitter,is it possible with oauth using PHP. ...

Change title name in Twitter API using Android?

When you use Twitter API and develop your first simple Twitter client, and post a comment to Twitter - it says "from API". Using the Twitter web it says "from the web". Using Siesmic it says "from Seesmic". How do you the set the application name/title so it shows up like "from myApp" using Android? Thanx for listening! Answers will be...

Zend OAuth with twitter single access tokens

Hey all, I'm developing an application where it requires users to sign in using twitter and OAuth. Everything works just fine thanks to Zend_OAuth. The problem is that the web app will also make some calls to the twitter API but these will be handled internally without the need of authenticating. Twitter Dev provides an 'access_token' a...

Dumping a list of URLs from Twitter to Tumblr

This question has less to do with actual code, and more to do with the underlying methods. My 'boss' at my pseudointernship has requested that I write him a script that will scrape a list of links from a users' tweet (the list comes 'round once per week, and it's always the same user) and then publish said list to the company's Tumblr a...

Can't get my access_token using Rails and the OAuth gem

Hello everyone, I am developing my Rails 3 application that uses Twitter OAuth and I am getting troubles because apparently I can't get the access_token, after clicking 'Allow' and Twitter redirecting me back to my application url, when I go to twitter.com/settings/connections I can't see my app there as authorized. I guess there is som...

Grabbing Twitter Friends Feed Using PHP and cURL

So in keeping with my last question, I'm working on scraping the friends feed from Twitter. I followed a tutorial to get this script written, pretty much step by step, so I'm not really sure what is wrong with it, and I'm not seeing any error messages. I've never really used cURL before save from the shell, and I'm extremely new to PHP s...

Rate Limit Exceeded - Custom Twitter app

Hi All, I am working with a java Twitter app (using Twitter4J api). I have created the app and can view the current users timeline, user's profiles, etc.. However, when using the app it seems to quite quickly exceed the 150 requests an hour rate limit set on Twitter clients (i know developers can increase this to 350 on given accounts,...

cURL and PHP: Stop output to screen

Following my last question again; This small script is supposed to grab my twitter friends feed and store the xml as a string. However, it keeps outputting all of the data (minus the xml, actually) to the browser. What am I doing wrong? <html> <head> <title>Twitcap</title> </head> <body> <?php function twitcap() { // Set your us...

How to generate OAuth signature with php for Twitter API?

Hi, Actually it is not a php question it's more about OAuth. I'm trying to understand how to generate the OAuth sign key. I read the Twitter Docs and tried the example, but I couldn't understand how to use the SHA1. Should I use SHA1 on the base string with or without the secret_key? I tried many variations but the sign key was differ...

Accessing the Twitter API via PHP

I'm working on making my script mesh with OAuth instead of Basic Auth, and I'm stuck. So far, I'm just working on authenticating at the moment, but I can't get that working. This code: <?php include 'config.php'; include 'twitteroauth/twitteroauth.php'; // Use config.php credentials $conn = new TwitterOAuth(CONSUMER_KEY,CONSUM...