Ver Mensaje Individual
  #3 (permalink)  
Antiguo 04/01/2018, 14:22
alfa18
 
Fecha de Ingreso: diciembre-2007
Mensajes: 299
Antigüedad: 16 años, 4 meses
Puntos: 2
Respuesta: PHP + API de twitter

Gracias por tu respuesta @xfxstudios

al ejecutar este codigo:
Código HTML:
<?php
 
$json = file_get_contents("https://api.twitter.com/1.1/statuses/user_timeline.json?user_id=10793472", TRUE);
......................
..............
?> 
obtengo este warning:
Código HTML:
[COLOR="Black"]Warning[/COLOR]: file_get_contents(https://api.twitter.com/1.1/statuses/user_timeline.json?user_id=2321080068): failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in C:\xampp\htdocs\OOP\rest.php on line 10
__________________
1os pasaos con xAMP en Windows
programando en PERL