Problem is solved, I added the following line:
curl_setopt($curl, CURLOPT_POSTFIELDS, null);
On Jun 10, 7:47 pm, Randomness randomness.bl...@gmail.com wrote:
I just created some php code to retweet a tweet that meets certain
criteria. The code executes fine from one webserver when called from
I wrote some code that retrieves tweets sent by an authenticated user
which works fine. As the resource I use:
http://api.twitter.com/1/statuses/user_timeline.xml
which is used for te base string. For the CURLOPT_URL I added paramers
to the URL like:
?count=200page=1include_rts=true
From the
-- in your signature base string, the query
parameters should be sorted.
Thanks,
Taylor
@episod http://twitter.com/episod - Taylor Singletary
On Tue, Apr 12, 2011 at 5:13 AM, Randomness randomness.bl...@gmail.comwrote:
I wrote some code that retrieves tweets sent by an authenticated user
loop (i.e.
retrying after 10 seconds), and eventually reduce the count if that happens
too frequently.
Arnaud / @rno http://twitter.com/rno
On Sun, Apr 10, 2011 at 11:32 AM, Randomness
randomness.bl...@gmail.comwrote:
I a trying to capture the last 3200 tweets from an authenticated
I just tried to construct a query that searches for users by location,
as it is registered in the location field of their profiles. I had no
luck and it seems this is not possible. Am I just overlooking
something, or is their another way to find people by location?
--
Twitter developer
Same problem here. When lang=all is used I am getting results. When a
language is specified I get zero results most of the time, while in
some cases I do get a result. Seems very strange.
On Nov 29, 9:25 am, fbparis fbou...@gmail.com wrote:
And same with some search operators (like source:xxx)
I just ran into a strange problem while sending a tweet from Excel. I
tried to post a message that included an ampersand like this:
take a look at this:
http://mywebsite.com/page.php?para1=thispara2=that
When posted this message looks like this:
take a look
:
Twitter itself won't do this. It's definitely your library.
1. Make sure that you send the status via the POST body and not via the
query part of the URL.
2. Don't do more encoding than absolutely necessary.
Tom
On 11/11/10 6:00 PM, Randomness wrote:
I just ran into a strange problem
Hi Sarah,
You can download an Excel sheet here, that will get you your last 3200
tweets fast. This is as far back as Twitter currently allows us
through the API. From the sheet you can also search through them.
Go to http://twopcharts.com/downloads.php and download My_tweets_2.1
Good luck
On
The problem looks quite nasty to me.
I just tried to post the same tweet through a webpage with a php
library and also through a website with Twitter anywhere, All gave the
same wrong url back!
On Nov 11, 6:00 pm, Randomness randomness.bl...@gmail.com wrote:
I just ran into a strange problem
I believe I have solved all the issues of getting the right
information to send a tweet using Excel. Calculation of oauth_nonce
and oauth_timestamp look good and also the calculation of the
oath_signature seems to be in order.
When I try to post the message I get a message asking for user name
, please give these :
* A sample Base String
* A TCP dump of a full request, including response.
Tom
PS: Do I know you?
On 9/20/10 8:38 PM, Randomness wrote:
I believe I have solved all the issues of getting the right
information to send a tweet using Excel. Calculation of oauth_nonce
:
Multiple things:
* You missed a space in the Authorization header. Go look in my post ;)
* You don't have to put the quotes in the Base String. Only in the
Authorization: header.
Tom
On 9/21/10 12:14 AM, Randomness wrote:
I still get the same mistake all the time, after I get asked
is and I definitely see those in your
Base String ;-) I'm not saying that it's impossible to have them there,
just that it's very unlikely that you need them there.
Also, like Taylor pointed out: there's no status= in your base string ;-)
Tom
On 9/21/10 12:22 AM, Randomness wrote:
I
14 matches
Mail list logo