Mention not working with ne API


#1

Hey, i crawled a while the web and no i give up.

I had a old script for the Old API and it is not working anymore. I can’t find the mistake but i think it has to do with the changes made to the new API

My query is

/* HANDLE MENTIONS */ $tweets2me = $oauth->get('https://api.twitter.com/1.1/search/tweets.json', array('q'=>"@$me", 'since_id' => $since_id))->results;
if(isset($tweets2me[0]))
    file_put_contents($file_name, $tweets2me[0]->id_str);
</code>

I changed already the API URL, the connection seems to be working and he find my username but not more.
Does anybody see a mistake in this query?