[twitter-dev] Re: Delete a Direct Message

2009-08-31 Thread Abraham Williams
How is process() making the requests? Is it with CURL? If so you should be able make it work by adding: curl_setopt($handle, CURLOPT_POST, TRUE); Abraham On Mon, Aug 31, 2009 at 21:48, Pj wrote: > > How to Delete a Direct message in PHP > this is my script: > > function deleteDirectMessage($id)

[twitter-dev] Re: Whitelist DM limit Question

2009-08-31 Thread Dean Collins
if they are logging in as their account they can only send 250 Direct Messages per day. http://help.twitter.com/forums/10713/entries/14959 Last year, Twitter imposed reasonable limits to help prevent system and user abuse. (You can read more about that here

[twitter-dev] Whitelist DM limit Question

2009-08-31 Thread Matthew
I'm developing an application and I need to find out how the DM limit will work if I get it Whitelisted. Does the expanded DM limit for whitelisted applications only apply to DM's directly from the account associated with the application that has been whitelisted, or does it apply to an account t

[twitter-dev] Delete a Direct Message

2009-08-31 Thread Pj
How to Delete a Direct message in PHP this is my script: function deleteDirectMessage($id) { if (!is_numeric($id)) { return false; } $request = 'http://twitter.com/direct_messages/destroy/'.$id.'.xml';

[twitter-dev] Re: Using Twitter API by Nick Beam

2009-08-31 Thread Pj
Are there any Documentation to refer to? On Sep 1, 1:22 am, Chris Babcock wrote: > Paste Bin - pastebin.com - is our friend. > > Chris > > On Mon, 31 Aug 2009 16:17:55 -0400 > > Andrew Badera wrote: > > TEXT AVALANCHE! RUN! > > > ∞ Andy Badera > > ∞ This email is: [ ] bloggable [x] ask first [

[twitter-dev] Re: track syntax

2009-08-31 Thread Joel Strellner
If he really is using only those two lines, then yes, it explains some of his error. The header lines are what tells the server what page you're looking for on stream.twitter.com. -Joel On Mon, Aug 31, 2009 at 1:33 PM, Joseph Cheek wrote: > > are you really just opening stream.twitter.org? No

[twitter-dev] Re: track syntax

2009-08-31 Thread Joel Strellner
Hi Polymatheus, 1) How can the above script be amended to show both follow and track? > Is this possible? > John's suggestion is the only way, you must use the new paths. 2) If I opened a stream to follow 10 users and then a further 5 users > joined my site, would I have to close the first stream

[twitter-dev] Re: track syntax

2009-08-31 Thread Joseph Cheek
are you really just opening stream.twitter.org? Normally you would want to open http://stream.twitter.org/path/to/url.xml... Joseph Cheek jos...@cheek.com, www.cheek.com twitter: http://twitter.com/cheekdotcom John Kalucki wrote: > You can set both the track and follow parameters when using t

[twitter-dev] Re: Website!

2009-08-31 Thread Joseph Cheek
And mine, www.cheek.com/downloads/Twitter_Auth Abraham Williams wrote: > There is a Twitter Drupal module that does not support OAuth or Sign > in with Twitter yet. > > http://drupal.org/project/twitter > > If you check the issue queue those are both planned features. > > There is also a lig

[twitter-dev] Re: Using Twitter API by Nick Beam

2009-08-31 Thread Stuart
2009/8/31 Pj : > > Can anyone please assist me on how to use/call this API functions with > php? > > I tried > > require("new.class.php"); > > $twitter = new Twitter("", ""); > > $msg = $twitter->getMessages("xml"); > > echo "". $msg. ""; > > ?> > > And something weird displayed.. > thank

[twitter-dev] Re: Using Twitter API by Nick Beam

2009-08-31 Thread Chris Babcock
Paste Bin - pastebin.com - is our friend. Chris On Mon, 31 Aug 2009 16:17:55 -0400 Andrew Badera wrote: > TEXT AVALANCHE! RUN! > > ∞ Andy Badera > ∞ This email is: [ ] bloggable [x] ask first [ ] private > ∞ Google me: > http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera) > > >

[twitter-dev] Re: track syntax

2009-08-31 Thread Abraham Williams
On Mon, Aug 31, 2009 at 14:32, Polymatheus wrote: > 3) I can't seem to close a stream that I opened using the sample code > above, I have tried changing the file to simply say: > > > $fp = fsockopen("stream.twitter.com", 80, $errno, $errstr, 10); > fclose($fp); > Maybe this will fix your problem

[twitter-dev] Re: Problem in past 48 hours: friendships/create severe lag or loss

2009-08-31 Thread Ben Eliott
Thank-you, good to know. On 31 Aug 2009, at 20:03, John Kalucki wrote: We're on this. Updates from the usual sources soon. On Aug 31, 11:57 am, David Dellanave wrote: I am pretty sure I am experiencing this issue as well. I can't verify it, yet. I assumed it was an issue with OAuth, but

[twitter-dev] Re: Using Twitter API by Nick Beam

2009-08-31 Thread Andrew Badera
TEXT AVALANCHE! RUN! ∞ Andy Badera ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera) On Mon, Aug 31, 2009 at 3:27 PM, Pj wrote: > > Can anyone please assist me on how to use/call this API functions with > php? >

[twitter-dev] Re: track syntax

2009-08-31 Thread John Kalucki
You can set both the track and follow parameters when using the /1/ statuses/filter URL. Best practices around changing your predicate: http://apiwiki.twitter.com/Streaming-API-Documentation#UpdatingFilterPredicates I can't answer PHP questions, sorry. -John Kalucki http://twitter.com/jkalucki

[twitter-dev] Re: Website!

2009-08-31 Thread Abraham Williams
There is a Twitter Drupal module that does not support OAuth or Sign in with Twitter yet. http://drupal.org/project/twitter If you check the issue queue those are both planned features. There is also a lightweight Sign in with Twitter module that I wrote: http://github.com/abraham/sign-in-with-t

[twitter-dev] Re: track syntax

2009-08-31 Thread Polymatheus
I've used the code above to start streaming and then dumping the output to a text file every hour to process later. There are a few things I want to clarify, 1) How can the above script be amended to show both follow and track? Is this possible? 2) If I opened a stream to follow 10 users and then

[twitter-dev] Search only who you follow?

2009-08-31 Thread Shannon Clark
Perhaps I have missed it (I have looked) but is there is a way to search ONLY the tweets from people whom a user of your service follows? i.e. after OAuth then search all the tweets from folks whom they are following - including @reply's and accounts who are set private? Ideally as far into the pas

[twitter-dev] Using Twitter API by Nick Beam

2009-08-31 Thread Pj
Can anyone please assist me on how to use/call this API functions with php? I tried getMessages("xml"); echo "". $msg. ""; ?> And something weird displayed.. thanks in advance. //new.class.php\\ http://rbrw.net -- http://tinydinosaur.com * * Thi

[twitter-dev] Re: Number of Tweets in a timeframe

2009-08-31 Thread JDG
As far as I know, per-day is the finest grained time-based search you can do. On Mon, Aug 31, 2009 at 10:12, DMain wrote: > > Hi, > > does anyone know how if it's possible to receive the number of search > results on a specified timeframe? > > The following url returns all tweets from a day, but

[twitter-dev] Re: Number of Tweets in a timeframe

2009-08-31 Thread torontocitylife
Just to add a sprinkle of salt, I haven't explored all the Twitter API functionality, but I do know of one parameter that's something like "olderthan" (or maybe "older"). This accepts a tweet number (index) and instructs the API to retrieve updates earlier than this. Unfortunately this isn't timef

[twitter-dev] Re: Problem in past 48 hours: friendships/create severe lag or loss

2009-08-31 Thread John Kalucki
The writes are all safely queued. They all should all eventually apply correctly and consistently. Keep an eye on the status blog. On Aug 31, 12:07 pm, PJB wrote: > Thanks Jon... can you let us know if past friendships/create (etc) > calls that haven't yet worked, will eventually work?  Since

[twitter-dev] Re: scripting error or new policy?

2009-08-31 Thread torontocitylife
Sometimes Twitter doesn't respond -- that's a server latency issue (and they've been down more than a few times :) ) However, Twitter doesn't allow crossdomain communication because of their crossdomain policy. Many developers have worked around this by creating server-side proxies, but if you ca

[twitter-dev] Re: Problem in past 48 hours: friendships/create severe lag or loss

2009-08-31 Thread PJB
Thanks Jon... can you let us know if past friendships/create (etc) calls that haven't yet worked, will eventually work? Since we database all of these actions, we're worried that we're going to have bad data for the past, e.g., 48 hours, unless those non-error calls actually go through. On Aug

[twitter-dev] Re: Problem in past 48 hours: friendships/create severe lag or loss

2009-08-31 Thread John Kalucki
We're on this. Updates from the usual sources soon. On Aug 31, 11:57 am, David Dellanave wrote: > I am pretty sure I am experiencing this issue as well.  I can't verify it, > yet.  I assumed it was an issue with OAuth, but it seems like that it is the > same issue.

[twitter-dev] Re: /friendships/destroy.json /blocks/blocking /blocking/ids

2009-08-31 Thread Ben Eliott
Yes, lag makes more sense in this context, i'll run some tests for this. And i note a few other emails about this now. On 31 Aug 2009, at 19:15, PJB wrote: We are experiencing similar problems. Friendship create is returning success, yet checking Twitter.com directly, or friends/ids.xml

[twitter-dev] Re: Problem in past 48 hours: friendships/create severe lag or loss

2009-08-31 Thread Shannon Clark
Not app specific but as a user via the web I am noticing the following possibly related behaviors: - new users showing up in my followers list w/o an email being sent - emails being sent about new followers w/o the follower showing up in my followers list - followers i blocked still showing up i

[twitter-dev] Re: Problem in past 48 hours: friendships/create severe lag or loss

2009-08-31 Thread David Dellanave
I am pretty sure I am experiencing this issue as well. I can't verify it, yet. I assumed it was an issue with OAuth, but it seems like that it is the same issue.

[twitter-dev] Re: Problem in past 48 hours: friendships/create severe lag or loss

2009-08-31 Thread Paul Kinlan
Hi, I too am seeing a similar issue. I have had a lot of users say that this is occurring even going so far to raise chargebacks against my service. I also notice that friendships/create often returns a 200 but the response is empty, when normally you get the information about the person being fo

[twitter-dev] Problem in past 48 hours: friendships/create severe lag or loss

2009-08-31 Thread PJB
Woke up this morning to find that several of our users have written in noting that friendship actions taken through our application are not working. We confirmed this problem, across multiple IPs and multiple different apps. Friendships/create works inconsistently: about 30% of the time they wo

[twitter-dev] Crossdomain policy

2009-08-31 Thread torontocitylife
Does anyone know what's going on with Twitter's crossdomain policy file? I read -- over a year and a half ago -- that they were temporarily blocking broad access because of security holes. The crossdomain file still reads: http://www.w3.org/2001/XMLSchema- instance" xsi:noNamespaceSchemaLocation

[twitter-dev] Re: /friendships/destroy.json /blocks/blocking /blocking/ids

2009-08-31 Thread PJB
We are experiencing similar problems. Friendship create is returning success, yet checking Twitter.com directly, or friends/ids.xml does NOT show the id of the friended user. At least not immediately. It appears as though there is a several hour delay before updating. On Aug 30, 11:28 pm, Ben

[twitter-dev] Number of Tweets in a timeframe

2009-08-31 Thread DMain
Hi, does anyone know how if it's possible to receive the number of search results on a specified timeframe? The following url returns all tweets from a day, but I have to parse all results (and hope that their number is less than 1500). Also I would prefer to have this number on a hourly basis.

[twitter-dev] Anyone updated jmathai OAuth library for 301s?

2009-08-31 Thread davidddn
Has anyone updated the Jaisen Mathai OAuth library to support manually following the 301s? Since FOLLOW_LOCATION doesn't work on POSTs, the library needs to be re-written in parts to manually follow the redirects. Don't want to duplicate the work if someone has done it. The code is here: https:

[twitter-dev] scripting error or new policy?

2009-08-31 Thread arezki
I have been following these requests for help and wonder what's happening. I am actually affected myself and I am by no means spammer, just an industry analyst. So my sense twitter has scripting issues...problem is that twitter does not seem to respond. Here's the link, click at the last page lis

[twitter-dev] Re: Website!

2009-08-31 Thread priteshdesai
Hmmm... may be if you can do that work, I'd be glad to talk to you about this. I haven't got any time to do this right now, but I want to quickly put out a site for this. Reach me if yo can do this. On Aug 31, 6:10 pm, Adam Cloud wrote: > **Sprinkles some fairy dust** > > priteshdesai, your best

[twitter-dev] Re: Started getting "Incorrect Signature" but I verified the signature is correct

2009-08-31 Thread Bill Evans
I found this thread: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/9e9bfec2f076e4f9 and tried switching my request to https instead of http and that fixed my issue. On Aug 28, 7:19 pm, Bill Evans wrote: > I'm having the same issue with the same api call. I can ca

[twitter-dev] Re: Does anyone have an ASPinfo.asp file they can share?

2009-08-31 Thread Coderanger
I have some asp scripts to handle server errors and email u the results. They are invaluable for all classic asp sites. I can send u them when my new laptop gfx card arrives tomorrow (all being well) and I have my laptop up and running again. Let me know

[twitter-dev] Re: if you will be using the Geolocation API ...

2009-08-31 Thread Raffi Krikorian
hi nicole. Also I am surprised that the geolocation of the person can be attached to the tweets but still not to the profile - something which would make location based services so much easier, even without having each tweet tell the world where you are? part of our hopes when we designed

[twitter-dev] Re: Website!

2009-08-31 Thread Adam Cloud
**Sprinkles some fairy dust** priteshdesai, your best bet is to take some time to read the API documentation on how it works. http://apiwiki.twitter.com/Twitter-API-Documentation However, I'm sure if you whispered the right numbers into the air that someone might be willing to do some freelance w

[twitter-dev] Re: Does anyone have an ASPinfo.asp file they can share?

2009-08-31 Thread Andrew Badera
Are you maybe talking "browsercap.ini" ? Or are you actually talking the first result of googling "aspinfo.asp" which is a third-party script of that name? ∞ Andy Badera ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+

[twitter-dev] Re: Website!

2009-08-31 Thread Andrew Badera
Wave your magic wand, demand some plz send teh codez, and your wish will come true! You're probably better going to the Drupal community for this if you intend to use Drupal. This isn't a website building tutorial list. This isn't a Drupal how-to list. Most of us here probably don't even use Drup

[twitter-dev] Is favoriting broken?

2009-08-31 Thread Hwee-Boon Yar
Is favoriting broken? -- Hwee-Boon

[twitter-dev] Cannot Make any changes to my contact list

2009-08-31 Thread Lynncal Bering
I cannot add people to my contact list. When I click on it it says following but if the page is refreshed I'm no longer following and as far as the people I am following, if I turn the cell phone notifications off, the same thing happens as above, It doesn't change, I'm still getting themk...