I follow the instructions from the api on https://dev.twitter.com/docs/api/1.1/get/users/profile_banner
I call it with a simple code like this: $content = $connection->get(‘https://api.twitter.com/1.1/users/profile_banner.json?screen_name=myusername’); print_r($content);
and the result: stdClass Object ( [errors] => Array ( [0] => stdClass Object ( [message] => Internal error [code] => 131 ) ) )
The problem was from twitter.
I obtain this error usually but not always.