[twitter-dev] error with simple xml load file

2009-07-24 Thread oscarva
I am tring to do a Api call using simple xml and twitter search API. $rss = simplexml_load_file('http://search.twitter.com/search.atom? q=Google'); foreach ($rss->channel->item as $item){ $title = utf8_decode($item->title); $url = $item->link; } The error log tells me the following: PHP

[twitter-dev] Re: issue with simple xml load file + twitter search API

2009-07-24 Thread oscarva
Hi, I could help. I have exactly the same problem. That I have to make changes or add the User-Agent? Thank you very much On 28 jun, 23:48, jey jey wrote: > Hi > > Thanks Matt, > > Its working, Thanks again for your cool help and your time > > regards > j0banhttp://phpqa.blogspot.com > > On Jun

[twitter-dev] Does twitter allow apps for getting followers by following each other?

2009-07-24 Thread Chaoming Li
I see a few apps doing this, some have been there for months. Basically they allow users to login and click a button to follow other users on the list, and then the other users might follows you back. I am wondering is that allowed?

[twitter-dev] Google Android

2009-07-24 Thread Matthew Jurkoic
Can anyone direct me to some code examples of Google Android connecting to Twitter? I've played with HttpClient but have not had any luck. Thank you.

[twitter-dev] oAuth .NET receiving Unauthorized Error (401)

2009-07-24 Thread mattarnold1977
All of my development up to this point has been with basic authentication. This is my first attempt at using oAuth. I setup an application at Twitter and received the identifying tokens. I believe I have signed the request properly, and formatted the request token url correctly. However, when

[twitter-dev] e-book on internet Retailer

2009-07-24 Thread praveen kumar
Hai, In this link containing tips for internet marketing http://netelixir.com/freshideas.html?2 Regards, Praveen Kumar .N -- Regards, Praveen Kumar .N Software Engineer Netelixir e-Marketing Solutions Hyderabad www.netelixir.com

[twitter-dev] e-book on internet Retailer

2009-07-24 Thread praveen kumar
Hai, In this link containing tips for internet marketing http://netelixir.com/semfreshideas.html?2 There is a direct url to the ebook also, http://netelixir.com/freshideas.html?2 Regards, Praveen Kumar .N

[twitter-dev] Re: "id" field is missing in status from streaming API frequently

2009-07-24 Thread AJ Chen
John, thanks. Yusuke, it may be a good idea for twitter4j library to exclude the deleted statuses as they are received. currently, twitter4j throws an exception for them, which is less informative. thanks. -aj On Fri, Jul 24, 2009 at 3:20 PM, John Kalucki wrote: > > It appears that you are tre

[twitter-dev] Re: Search / track term

2009-07-24 Thread Joel Strellner
No. If you are tracking 3 things, for example, the only way to determine which of those 3 terms matched, would be for you to search within the tweet for your terms and determine it yourself. On Fri, Jul 24, 2009 at 5:30 PM, Joseph wrote: > > If I'm tracking a hash tag (using the streaming API),

[twitter-dev] Re: need help with OAuth library usage in cocoa app

2009-07-24 Thread Fares Farhan
Magic! Now it works.. thanks a ton Isaiah :) On Jul 25, 4:40 am, Isaiah wrote: > > Thank you for your prompt reply Isaiah, > > No worries.  Glad to help out. > > > Thank you also for the offer of emailing you directly, but I think > > your code is also precious for other newbie like me who want

[twitter-dev] Search / track term

2009-07-24 Thread Joseph
If I'm tracking a hash tag (using the streaming API), will that hash tag (or search term), be returned as part of the JSON stream I'm receiving?

[twitter-dev] Re: "id" field is missing in status from streaming API frequently

2009-07-24 Thread Abraham Williams
To clarify what John said. Those reference existing statuses that users are deleting and you are being notified to also delete them from you database. On Fri, Jul 24, 2009 at 15:20, John Kalucki wrote: > > It appears that you are treating status deletions as statuses. > > -John Kalucki > http://

[twitter-dev] Re: Updating the APIs authentication limiting policy

2009-07-24 Thread Abraham Williams
I would much rather have Twitter lock me out of my account for an hour then let some script kiddie brute force my password. Thanks Twitter. Abraham On Fri, Jul 24, 2009 at 14:51, Marco Kaiser wrote: > I think Dewald's concern is very valid - and even though OAuth might solve > it, the reality i

[twitter-dev] Re: "id" field is missing in status from streaming API frequently

2009-07-24 Thread John Kalucki
It appears that you are treating status deletions as statuses. -John Kalucki http://twitter.com/jkalucki Services, Twitter Inc. On Jul 24, 3:18 pm, AJ Chen wrote: > twitter streaming api has lots of statuses missing id? > the following exception appears almost continuously in my log. it indica

[twitter-dev] "id" field is missing in status from streaming API frequently

2009-07-24 Thread AJ Chen
twitter streaming api has lots of statuses missing id? the following exception appears almost continuously in my log. it indicates the "id" field is missing in status from streaming API. twitter4j.TwitterException: JSONObject["id"] not found.:{"delete":{"status":{"id":2813410502,"user_id":47157439

[twitter-dev] Re: Updating the APIs authentication limiting policy

2009-07-24 Thread Marco Kaiser
I think Dewald's concern is very valid - and even though OAuth might solve it, the reality is that most (if not all) desktop and mobile apps are using Basic Auth today for various reasons, so if you implement this policy as described, there's a pretty high risk that many users can be locked out of

[twitter-dev] Re: need help with OAuth library usage in cocoa app

2009-07-24 Thread Isaiah
Thank you for your prompt reply Isaiah, No worries. Glad to help out. Thank you also for the offer of emailing you directly, but I think your code is also precious for other newbie like me who want to know more about this OAuth thing :) It wasn't so easy to figure out a nice way to do this

[twitter-dev] Re: The remote server returned an error: (401) Unauthorized.

2009-07-24 Thread Bojan Rajkovic
On Fri, 2009-07-24 at 13:43 -0700, HatMan wrote: > Working in C# trying to send a tweet using Basic Auth with my own > current credentials from a Vista machine running IIS7. Any reason why > I am getting 401 Unauthorized? > > try > { > string user = Convert.ToBase64Stri

[twitter-dev] Re: Is it possible to receive a list of twitter users starting with a given string ?

2009-07-24 Thread Peter Denton
There is no "users" API, so there is no network-wide access to users. On Fri, Jul 24, 2009 at 10:44 AM, VaN wrote: > > Hello, > > For example, I'd like to display all the twitter users starting with > "guy", in AJAX. I would have a text input. the user would write down > "guy", I would send that

[twitter-dev] The remote server returned an error: (401) Unauthorized.

2009-07-24 Thread HatMan
Working in C# trying to send a tweet using Basic Auth with my own current credentials from a Vista machine running IIS7. Any reason why I am getting 401 Unauthorized? try { string user = Convert.ToBase64String (System.Text.Encoding.UTF8.GetBytes(metroUserName + ":" + m

[twitter-dev] Re: need help with OAuth library usage in cocoa app

2009-07-24 Thread Fares Farhan
Thank you for your prompt reply Isaiah, Thank you also for the offer of emailing you directly, but I think your code is also precious for other newbie like me who want to know more about this OAuth thing :) About changing application type to be "Browser", then there is "Callback URL:" box that I

[twitter-dev] Is it possible to receive a list of twitter users starting with a given string ?

2009-07-24 Thread VaN
Hello, For example, I'd like to display all the twitter users starting with "guy", in AJAX. I would have a text input. the user would write down "guy", I would send that string to the twitter API, that would send me back a list of all the users with the name starting with "guy". Is this thing po

[twitter-dev] Anyone experiencing any issues with API performance just now?

2009-07-24 Thread Jonathan Joyce (Storm ID)
At twibbon.com we are seeing long latencies and frequent failures on API calls, as of 15 minutes ago. No mention on status.twitter.com. Anyone else experiencing any issues? Jonathan Joyce Founder Twibbon.com

[twitter-dev] Re: Updating the APIs authentication limiting policy

2009-07-24 Thread Doug Williams
Well said Joshua. Dewald, you have identified the risk of using basic authentication. If your users being locked out due to malicious behavior, you should either implement further user-level rate limiting on your side or adopt OAuth. Are there any other glaring omissions in our thinking or shoul

[twitter-dev] Re: statuses/friends page count?

2009-07-24 Thread Dossy Shiobara
I suspect this lazy updating of the summary data (follower counts) explains why people keep saying "I used Twitter Karma, and all of a sudden I lost hundreds of followers!" :-) On 7/24/09 4:39 PM, Doug Williams wrote: The API removes suspended accounts lazily at read time which is why you

[twitter-dev] Re: statuses/friends page count?

2009-07-24 Thread Doug Williams
The API removes suspended accounts lazily at read time which is why you may receive incomplete pages (less users than the count parameter specifies). We are still working to report correct follower numbers in a timely matter which was the reason for last night's maintenance work (see http://status

[twitter-dev] Re: API limit confusion

2009-07-24 Thread Bill Kocik
On Jul 24, 4:13 am, Hwee-Boon Yar wrote: > Isn't this what I said? I don't think it is. I think your take is correct. What's telling is this bit of text from up the chain: "It appears to me that each user of a white-listed site gets 20k requests per hour". I don't believe it's true that each

[twitter-dev] Re: API limit confusion

2009-07-24 Thread Bill Kocik
If this is correct (and I don't think it is), then it's very different from what has always been my understanding. I've stated a few times on this list my belief that if you're going to be supporting a significant number of simultaneous users, whitelisting works against you. No one has ever challe

[twitter-dev] Re: New Twist To Follow Terms Violations

2009-07-24 Thread Vision Jinx
Thanks for the comments RandyC and Joshua Perry! I just started a Twitter account so I could develop free Twitter apps and tweet things I thought my friends would find interesting and in a short period of time I gathered a few followers (more then I actually expected). I don't know the "twitter e

[twitter-dev] Re: New Twist To Follow Terms Violations

2009-07-24 Thread David Fisher
"What gives Twitter the right to dictate who you want to follow or not?" Its their service. They can dictate what they want. Their playground, their rules. The ToS clearly says they can alter their terms at any time and if you don't want to comply you can leave. That being said, this is to preve

[twitter-dev] Re: statuses/friends page count?

2009-07-24 Thread Karthik Murugan
yes, each page request counts against the API limit On Fri, Jul 24, 2009 at 10:25 PM, Joseph wrote: > > Just as aside, does anyone know if each call to a new page counts > against the API limit? > > On Jul 24, 8:08 am, "st...@implu.com" wrote: > > I'm experiencing the same issue with implu. Wit

[twitter-dev] Re: New Twist To Follow Terms Violations

2009-07-24 Thread Joshua Perry
Think about a bot who just bulk follows random people, it then would kept track of users who didn't blindly or automatically follow back and dump them quickly and try following another batch of users so that it wouldn't bust it's follow ratio limit. Using this strategy a bot could eventually

[twitter-dev] Re: Updating the APIs authentication limiting policy

2009-07-24 Thread Joshua Perry
Jim's concern is valid, fortunately OAuth is immune to brute-force attacks once the access key has been issued to an application. For this reason alone I would urge people to switch to OAuth if at all possible. I would hope (and assume) that if login attempts for an account are locked out th

[twitter-dev] Re: New Twist To Follow Terms Violations

2009-07-24 Thread Dale Merritt
you knew that was going to happen. How about bulk follows, if that its done in a thoughtful way? On Fri, Jul 24, 2009 at 9:22 AM, Dewald Pretorius wrote: > > On Twitter's new site, http://business.twitter.com, under the heading > Best Practices, the following is listed as a spamming practice: >

[twitter-dev] Re: New Twist To Follow Terms Violations

2009-07-24 Thread Andrew Badera
On Fri, Jul 24, 2009 at 1:13 PM, Vision Jinx wrote: > > What? > > Re: "as well as following and unfollowing those who don't follow back, > are both violations of our terms of service." > > What gives Twitter the right to dictate who you want to follow or not? > That is like Gmail saying you can't

[twitter-dev] Re: New Twist To Follow Terms Violations

2009-07-24 Thread RandyC
The way I read the actual text it suggests that following and then unfollowing in a short period of time is the violation...not that you can't unfollow someone who didn't follow you. In fact, isn't following someone who doesn't want to follow you back a form of stalking for some people? I've alw

[twitter-dev] Re: New Twist To Follow Terms Violations

2009-07-24 Thread Vision Jinx
What? Re: "as well as following and unfollowing those who don't follow back, are both violations of our terms of service." What gives Twitter the right to dictate who you want to follow or not? That is like Gmail saying you can't remove contacts from your contacts list. When I signed up it sugge

[twitter-dev] Re: statuses/friends page count?

2009-07-24 Thread Joseph
Just as aside, does anyone know if each call to a new page counts against the API limit? On Jul 24, 8:08 am, "st...@implu.com" wrote: > I'm experiencing the same issue with implu. With 14,408 follows, I > should go up to > page 145. However, the last page of data is 101 and 102 onwards > returns

[twitter-dev] Re: follow limits

2009-07-24 Thread Mario Menti
On Fri, Jul 24, 2009 at 5:39 PM, Dean Collins wrote: > If you have 7000 people following you already it’s not the 2000/1900 > follow restriction it’s just the daily follow limit API. > > Wait until tomorrow and try again etc. > > This will obvious take 5 days for you to get all follow backs impl

[twitter-dev] Re: follow limits

2009-07-24 Thread Dean Collins
If you have 7000 people following you already it's not the 2000/1900 follow restriction it's just the daily follow limit API. Wait until tomorrow and try again etc. This will obvious take 5 days for you to get all follow backs implemented. Regards, Dean Collins Cognation Inc d..

[twitter-dev] follow limits

2009-07-24 Thread Mario Menti
Hi there, I have a twitter account I use for my company, which has just over 7,000 current followers. Because we're just about to launch a DM-based support service on that account, I'm trying to programmatically follow all these 7,000 users back, but am stuck at about 1,500, and am getting the "Yo

[twitter-dev] Re: statuses/friends page count?

2009-07-24 Thread st...@implu.com
I'm experiencing the same issue with implu. With 14,408 follows, I should go up to page 145. However, the last page of data is 101 and 102 onwards returns nothing. http://twitter.com/statuses/friends/implu.xml?page=102 The following call does seem to return all the friends/ids however. http://t

[twitter-dev] New Twist To Follow Terms Violations

2009-07-24 Thread Dewald Pretorius
On Twitter's new site, http://business.twitter.com, under the heading Best Practices, the following is listed as a spamming practice: "Following churn: Following and unfollowing the same people repeatedly, as well as following and unfollowing those who don't follow back, are both violations of ou

[twitter-dev] Re: Update multiple users at once

2009-07-24 Thread Abraham Williams
You can use curl_multi_* to make multiple requests in parallel. http://us3.php.net/manual/en/function.curl-multi-exec.php On Thu, Jul 23, 2009 at 06:30, DavidH wrote: > > Cheers for that: it's what I thought but just wanted to check. Guess > I'll have to queue separate cron jobs if things start

[twitter-dev] I'd like to get on the Developer for Hire page

2009-07-24 Thread kovshenin
I believe I have to request this, cause requesting a develoeprs account with the raised limits and whitelisted IP didn't get me into that list. I'm a Twitter developer and I'd like to be listed there together with my recent Twitter app called Foller.me (http:// foller.me) Thank you.

[twitter-dev] Re: Updating the APIs authentication limiting policy

2009-07-24 Thread Dewald Pretorius
Jim raised a huge weakness with the authentication rate limiting that could essentially break third-party apps. Anybody can try to add anybody else's Twitter account to a third-party app using an invalid password. If they do that 15 times with a Twitter account, the real owner of that Twitter acc

[twitter-dev] Re: need help with OAuth library usage in cocoa app

2009-07-24 Thread Isaiah
My example was built right as the pin code method was invented/ implemented in the API. So my example still uses the "Browser" method that doesn't require a pin code. If you go to your application settings page in twitter and set your Application Type to be "Browser" you should be good to

[twitter-dev] need help with OAuth library usage in cocoa app

2009-07-24 Thread Fares Farhan
Dear Twitter developers, First, I apologize if I misplace the question. I've cloned Isaiah's git repository of his AOuth implementation from http://github.com/yourhead/OAuth_ObjC_Test_App/tree/master but I experienced an issue that after the web sheet closed, there is no place that I can put th

[twitter-dev] Re: Change your avatar's Twitter

2009-07-24 Thread Leo Baiano
I would like to know if anyone knows an example using PHP to change image 2009/7/23 Cameron Kaiser : > >> How to replace the image of the avatar through the Twitter API or any >> other form automatically? > > http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0update_profile_image

[twitter-dev] Re: Updating the APIs authentication limiting policy

2009-07-24 Thread TinBlue
What do you mean the change won't affect OAuth? My application has been suffering from this issue ever since you made the limit change. My application has the ability to use either Basic or OAuth. My twitter users get blocked with the 403 error after a few minutes of usage because they reach the 1

[twitter-dev] Re: Updating the APIs authentication limiting policy

2009-07-24 Thread TinBlue
Why will it not apply to OAuth? OAuth is having this problem too!! Not happy! On Jul 23, 12:15 am, Doug Williams wrote: > Scott,This change will only affect Basic Auth, and will not affect OAuth > applications. > > Thanks, > Doug > > > > On Tue, Jul 21, 2009 at 4:27 PM, Scott wrote: > > > Than

[twitter-dev] Re: oauth_token and secret length

2009-07-24 Thread shiplu
On Fri, Jul 24, 2009 at 6:03 PM, Andrew Badera wrote: > http://groups.google.com/group/oauth/browse_thread/thread/d4b7f1f9174041ca?hl=en > Thanks. But I have read that already. I thought twitter would have a max length defined. -- A K M Mokaddim http://talk.cmyweb.net http://twitter.com/shiplu

[twitter-dev] Re: oauth_token and secret length

2009-07-24 Thread Andrew Badera
http://groups.google.com/group/oauth/browse_thread/thread/d4b7f1f9174041ca?hl=en Side note, top-posted for your pleasure simply because of the demanding, twice-accented-by-exclamation point note in your sig. I prefer a bottom quote myself, but I think it's your exclamation points that pushed me ov

[twitter-dev] Re: API & Curl: Status update result: http_code =>0!

2009-07-24 Thread lda
Thx worked On 20 Jul., 20:27, Chad Etzel wrote: > Ah, I think I may have an idea... > > You both are setting the status in the query string (more like a GET > request) and setting curl_setopt($ch, CURLOPT_POST, 1). > > But, It doesn't look like either of you are setting a POSTFIELDS > option.  I

[twitter-dev] Re: API limit confusion

2009-07-24 Thread Hwee-Boon Yar
Isn't this what I said? -- Hwee-Boon On Jul 24, 2:36 pm, srikanth reddy wrote: > @jim.renkel. Thanks a ton. I think now it is clear. > > < requests per hour, independent of any other users of that site or *any > other uses of the twitter API at other sites by that user *>> > > probably this is