SPEEDYB.co.uk

Thursday th 15th of February 2007 at quarter past 'noon
N ot long ago, I added functionality to this site to post updates to twitter whenever I make a new post, however just as I add in the code which makes it link directly to the post rather than just to the site... it goes and breaks.

I'm currently using fsockopen(); to then POST the information to the API, I've looked around the internets, only to find others doing the same, or alternatively using cURL to do their bidding, via curl_exec(); ... I tried doing that yesterday, and it worked, I was going to temporarily put this in place of my other code until that was working again, however it now seems that even this method is bork.

I really can't see the problem, unless they've changed how to update in the twitter API, as I'm posting the data to the XML file (tried the JSON file too), and both methods were working perfectly a week or so ago, so unless anyone knows of a magical fix for updating twitter with PHP, I'm stuck really.

Update: So after contacting Twitter directly, I have been given the following reply:
We have been having some slowness and timeout issues with the site, which may have caused the problems, but aside from that, nothing has changed...

Thanks!
Crystal
Well, thanks, but it still doesn't work! :-)

The server appears to respond when using both PHP and cURL, so I wouldn't of put it down to being a timeout issue. Who knows, maybe it will magically start to work again.
2 Comments
RSS Feeds Subscribe to: These comments, All Comments, All Posts
Gravatar
Geoff @ 20 Feb 2007

if it helps PHP has been updated on the server to 5.2.1
Gravatar
SPeedY_B @ 20 Feb 2007

Doesn't make a different unfortunately. I've sent a support ticket to them, will see if there's any response.
Add Your Comment...
Name
Web site (optional)
E-Mail (optional, used for Gravatar)