Hi people! i’m using Abraham’s api and can’t get rid of this “{“errors”:[{“message”:“Sorry, that page does not exist”,“code”:34}]}” When i’m trying to add some tweet to my favorites also when trying to retweet stuff.
This are the callings:

Favorite:
$content2 = $connection->post(‘favorites/create’, array(‘id’ => $tweet_id) );
Retweet:
$retweet = “statuses/retweet/”.$tweet_id;
$content2 = $connection->post($retweet);

Already switched the string from /1/ to /1.1/

I’d google this but i think i have the correct sintax already, but still can’t get it to work.

For now In order to Retweet im using a string sintax like “RT”.$tweet_user." ".$tweet but this way doesn’t allow me to do the retweet properly (whit a small green arrow on the top right corner of the tweet on the user’s timeline)

Im really stuck here, could someone deal with this problem?

You are missing the extension, which would be .json as the 1.1 API only gives JSON responses.

1 Like