SalmanAzmat / php-twitter

Automatically exported from code.google.com/p/php-twitter
0 stars 0 forks source link

Status didnt update and follow didnt work #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. using attached code - PosttoTwitter.php
2. It didnt give any error - but message didnt get posted
3. Follow didnt happen

What is the expected output? What do you see instead?
Message posted and Following is expected but didnt happen

What version of the product are you using? On what operating system?
v1.1 of this library, XP, Firefox

Please provide any additional information below.
Attached zip file has the three files I am using - the index.html is the
form to input twitter username/password. It submits to PosttoTwitter.php
using library in class.twitter.php. Please check whats wrong...
I am using PHP 5.2.8 curl enabled.

Original issue reported on code.google.com by mar...@gmail.com on 9 Mar 2009 at 11:53

Attachments:

GoogleCodeExporter commented 8 years ago
Your HTML is incorrect and there is no tweetcontent being POSTed. The issue is
invalid because when $status is hardcoded, the update works fine.

Original comment by emmenset...@gmail.com on 10 Mar 2009 at 5:28

GoogleCodeExporter commented 8 years ago
Hi thanks for pointing that out. I had been working with 3 different Twitter PHP
libraries and I have overlooked posting the tweetcontent form field. But even 
after
enabling the tweetcontent field it still didnt work - but hard coding the 
message
worked. This is nothing to do with the library but something that prevents the
textarea named tweetcontent from getting posted to the form action php. Also, 
FOLLOW
doesnt work - followUser method doesnt work even with hard coded message. 

Another issue is that when a twitter client is logged in using the same login 
info,
this library does not make successful status update even if login info is 
correct. I
havent checked other twitter php libraries

Original comment by mar...@gmail.com on 10 Mar 2009 at 8:17

GoogleCodeExporter commented 8 years ago
FOLLOW didnt work because of my mistake - I am doing case insensitive check 
thats why
- pardon

Original comment by mar...@gmail.com on 10 Mar 2009 at 10:51