[twitter-dev] estimating twitter users and activity from our iPhone app

2011-06-12 Thread Stephen Rife
Hi

I am trying to estimate how many twitter accounts are actively using
our iphone app and how much tweet activity they are generating.

Finding out just how many accounts have authorized our app would be
helpful, but after reading this discussion I realize such info is no
longer available via http://twitter.com/oauth_clients
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/979d3d5bdfa06083

Is there a way to filter by source (app id) on the Streaming Filter
API?

I know that search allows filtering by client id
http://twitter.com/#!/search/source%3ACLIENTID%20keyword

However using search results to count tweet activity from our ID from
our app isn't ideal because:
1) a keyword is always required in addition to the source:CLIENT ID
parameter
2) some user's tweets aren't included in results (especially new
users/ users without many followers.

Thanks,
Steve

@melobubu

-- 
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 api for android

2011-06-12 Thread saami
hello
  is there any API of twitter for Android. I want to integrate
twitter with my android application. kindly guide me.

saami

-- 
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] Working with POST method APIs

2011-06-12 Thread veiled
Hi,

I am totally new to twitter API usage. What my requirement is to auto
follow users based on certain search results and this should happen on
an hourly basis.I got the twitter API for doing it.But when I tried to
test by placing the url in the browser it says that This method
requires a post. I understood that it is because I am trying to make
changes in the twitter database and so it requires authentication.I
have registered my application and got all those sorts of keys.Now I
need your help to proceed further. I may using PHP coding.Any help is
appreciated.Thanks in Advance

-- 
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] Retweet loop and update mysql at the same time

2011-06-12 Thread Ayath
Hi,
I've got the following code on a php page but when running the page
nothing seems to happen.

My database has a list of statuses with their id and a column named
'Complete' which I want to update to yes once that status has been
retweeted.

Please can someone suggest where I am goign wrong.
The follwoing script does not updaate the record in the Mysql table
nor does it retweet.
I am using Abrahams O auth Library of this.
Thanks,
Ayath

?php
/**
 * @file
 *
 */



$con = mysql_connect(host,user,pword);


if (!$con)



{

die('Could not connect: ' . mysql_error());


}
mysql_select_db(dbname) or die(mysql_error());




$result = mysql_query(SELECT * FROM data where complete='no');
#$num_rows = mysql_num_rows($result);
$row = mysql_fetch_array($result);


/* Load required lib files. */
session_start();
require_once('twitteroauth/twitteroauth.php');
require_once('config.php');


/* SET  ACCOUNT VARIBALES */

define(OAUTH_TOKEN, XYZ);
define(OAUTH_SECRET, ABC);

$connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET,
OAUTH_TOKEN, OAUTH_SECRET);


$i=1;

while($i= $num_rows)
{
$connection-post('statuses/retweet/$id');
mysql_query(UPDATE data SET complete= 'yes'

WHERE ID = '$id' );


$i++;

}

?

-- 
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] JSON returning HTML in iPhone App?

2011-06-12 Thread lexy0202
Hi there,

I'm new to using the twitter API, and am having some problems with
reloading my feed in my iphone app

When I first load the app, the feed loads into my tableView fine, but
when I click the reload button which I recently added, what is
returned is not JSON, but HTML, and when I put it into safari, it
comes up with a 'Technical error twitter page'.

I am using the ASIHTTPRequest framework to download the json.

The puzzling thing is when I refresh it in a web browser it loads the
json fine

Is this a server-side problem or am I making a bad request??

Thanks,
Alex

-- 
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] Follower/Friends ID's count of each request

2011-06-12 Thread Georgooty varghese
Dear Twitter,

 I want to know about the count of follower/friends count of each request.

I have using cursor field in each request. In first request , cursor value
set to -1.
In response I got next next_cursor_str ,previous_cursor_str fields. but
values are 0.

*I want to limit the count of each request to 20.

Is it possible ? how.

For this purpose, I have using count field in query, but no hope. I got 24
id's.*

*http://api.twitter.com/1/friends/ids.json?count=20cursor=-1oauth_cons
   umer_key=*oauth_nonce=**oauth_signat

ure_method=HMAC-SHA1oauth_timestamp=1307938433oauth_token=*oauth_version=1.0user_id=14471
   7423oauth_signature=



Could you pleas help me..

Regards,
George

-- 
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