Im very much a newbie to PHP and the Twitter API.
Im trying to create a form button to set a tweet as a favorite.
I have OAuth working to post status updates and i've tried to amend
the status update code to set a tweet to be a favorite.
Wonder if anyone could help me:
$qtweet = A Twitter ID
Hi,
change this line:
$connection-post('favorites/create', array('id' = $qtweet));
into:
$connection-post('favorites/create/'.$qtweet);
$qtweet = $_REQUEST['fav'];
Make sure that $_REQUEST['fav'] is containing an existing ID. Check your Form:
input style=width: 346px; name=fav id=fav