Foros del Web » Programando para Internet » PHP »

Leer muro facebook con su api

Estas en el tema de Leer muro facebook con su api en el foro de PHP en Foros del Web. Hola estoy tratando de integrar mi pagina de facebook con mi web, la idea es que al publicar algo en facebook, tambien me lo publique ...
  #1 (permalink)  
Antiguo 22/07/2012, 12:13
Avatar de ONahuelO  
Fecha de Ingreso: junio-2009
Ubicación: Gualeguaychú, Argentina
Mensajes: 144
Antigüedad: 15 años, 5 meses
Puntos: 4
Leer muro facebook con su api

Hola estoy tratando de integrar mi pagina de facebook con mi web, la idea es que al publicar algo en facebook, tambien me lo publique en mi web.
Busque algo de info y logre hacerlo pero al reves, osea publicar en mi web y que esta lo publique en facebook, pero yo necesito totalmente lo contrario.

Tambien trate de hacerlo con getfilecontents, pero me pide access_token y no se como ponerlo en dicha funcion.
  #2 (permalink)  
Antiguo 22/07/2012, 18:00
Avatar de ONahuelO  
Fecha de Ingreso: junio-2009
Ubicación: Gualeguaychú, Argentina
Mensajes: 144
Antigüedad: 15 años, 5 meses
Puntos: 4
Respuesta: Leer muro facebook con su api

Hola, rompiendome un poco mas la cabeza logre llegar a una
parte, en donde logro conseguir un array con todos los datos del muro:

Código PHP:

$facebook 
= new Facebook(array(  
  
'appId'  => $appId,  
  
'secret' => $secret,  
  
'cookie' => true  
));  
$face $facebook->api('/me/feed'); 

Si imprimo eso me devuelve un gran array pero con todo, yo solamente quiero obtener mis publicaciones.
  #3 (permalink)  
Antiguo 22/07/2012, 18:06
Avatar de patriciomase  
Fecha de Ingreso: abril-2012
Ubicación: Mar del Plata
Mensajes: 323
Antigüedad: 12 años, 7 meses
Puntos: 34
Respuesta: Leer muro facebook con su api

hola hacele un print_r() al array y publicalo a ver que te trae, seria cuestión de filtrar solo lo que te interesa
  #4 (permalink)  
Antiguo 22/07/2012, 18:38
Avatar de ONahuelO  
Fecha de Ingreso: junio-2009
Ubicación: Gualeguaychú, Argentina
Mensajes: 144
Antigüedad: 15 años, 5 meses
Puntos: 4
Respuesta: Leer muro facebook con su api

Array ( [data] => Array ( [0] => Array ( [id] => 245417751855_10150918107551856 [from] => Array ( [name] => San Miguel Gualeguaychu [id] => 100002259332549 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => FELICITACIONES DEFENSORES DEL SUR ,POR EL NUEVO CAMPEONATO GANADO ¡¡¡¡ A TODOS LOS CHICOS UN ABRAZO GRANDE.. [type] => status [created_time] => 2012-07-22T23:16:33+0000 [updated_time] => 2012-07-22T23:16:33+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Natalie Quinteros [id] => 100003727715824 ) [1] => Array ( [name] => Gaston Gomez [id] => 1124086634 ) ) [count] => 2 ) [comments] => Array ( [count] => 0 ) ) [1] => Array ( [id] => 245417751855_10150918068791856 [from] => Array ( [name] => Cynthia Ramirez Francisco Reverdito [id] => 100002502217668 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => Felicitaciones muchachos por ser denuevo campeones . Me ubiese gustado poder estar pero no pude . Un abrazo grande para todos [type] => status [application] => Array ( [name] => BlackBerry Smartphones App [id] => 2254487659 ) [created_time] => 2012-07-22T22:49:13+0000 [updated_time] => 2012-07-22T22:49:13+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Jose Avile [id] => 100003700285767 ) ) [count] => 1 ) [comments] => Array ( [count] => 0 ) ) [2] => Array ( [id] => 245417751855_10150918068401856 [from] => Array ( [name] => Cynthia Ramirez Francisco Reverdito [id] => 100002502217668 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => Felicitaciones muchachos por ser denuevo campeones . Me ubiese gustado poder estar pero no pude . Un abrazo grande para todos [type] => status [application] => Array ( [name] => BlackBerry Smartphones App [id] => 2254487659 ) [created_time] => 2012-07-22T22:48:55+0000 [updated_time] => 2012-07-22T22:48:55+0000 [comments] => Array ( [count] => 0 ) ) [3] => Array ( [id] => 245417751855_10150917917481856 [from] => Array ( [name] => Javier Muñoz [id] => 1583531377 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => SALUD, CAMPEONES!!! [type] => status [created_time] => 2012-07-22T21:13:29+0000 [updated_time] => 2012-07-22T21:13:29+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) [count] => 1 ) [comments] => Array ( [count] => 0 ) ) [4] => Array ( [id] => 245417751855_10150917059281856 [from] => Array ( [name] => Julieta Duarte [id] => 100000863436014 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => Dicen que el dia no se pondera ,pero se siente en el aire la VICTORIA* VAMOS DEFE* !!(FELICITACIONES A LOS VETERANOS ,QUE PARTIDO )!!!-HOY TODOS DE ROJO** [type] => status [created_time] => 2012-07-22T12:39:23+0000 [updated_time] => 2012-07-22T12:39:23+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Javier Muñoz [id] => 1583531377 ) [1] => Array ( [name] => Julieta Duarte [id] => 100000863436014 ) [2] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) [count] => 3 ) [comments] => Array ( [count] => 0 ) ) [5] => Array ( [id] => 245417751855_10150916326466856 [from] => Array ( [name] => Yamill Caceres [id] => 100000303757591 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => vla final del defe todos a alentar al mejor eqipo el DEFE [type] => status [created_time] => 2012-07-22T01:36:18+0000 [updated_time] => 2012-07-22T01:36:18+0000 [comments] => Array ( [count] => 0 ) ) [6] => Array ( [id] => 245417751855_10150916211171856 [from] => Array ( [name] => Gastón Piccini [id] => 1447364525 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => Muchos Éxitos compañeros!!!!! espero llegar para acompañar al equipo si no es en la cancha es en el festejo!!! vamos Defe!!!! [type] => status [created_time] => 2012-07-22T00:05:33+0000 [updated_time] => 2012-07-22T00:05:33+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Hugo Elena [id] => 1294148651 ) [1] => Array ( [name] => Lucho Skubij [id] => 1209127094 ) [2] => Array ( [name] => Hugo Alza [id] => 100000891901863 ) [3] => Array ( [name] => Gaston Gomez [id] => 1124086634 ) ) [count] => 4 ) [comments] => Array ( [count] => 0 ) ) [7] => Array ( [id] => 245417751855_10150914205611856 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) [message] => Aviso por las dudas que se suspendio la final de los chicos de DEF. DEL SUR FUTSAL que estaba prevista para esta noche [type] => status [created_time] => 2012-07-20T22:13:54+0000 [updated_time] => 2012-07-20T22:13:54+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Lucho Skubij [id] => 1209127094 ) ) [count] => 1 ) [comments] => Array ( [count] => 0 ) ) [8] => Array ( [id] => 245417751855_10150913269391856 [from] => Array ( [name] => Dario Andrada [id] => 100000446258897 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => MUY FELIZ DIA DEL AMIGO PARA TODOS LOS SEGUIDORES DEL DEFE ....PASEN GENIAL Y DISFRUTEN DE SUS AMIGOSSSS....... [type] => status [created_time] => 2012-07-20T12:05:55+0000 [updated_time] => 2012-07-20T12:08:01+0000 [likes] =>
  #5 (permalink)  
Antiguo 22/07/2012, 18:39
Avatar de ONahuelO  
Fecha de Ingreso: junio-2009
Ubicación: Gualeguaychú, Argentina
Mensajes: 144
Antigüedad: 15 años, 5 meses
Puntos: 4
Respuesta: Leer muro facebook con su api

Array ( [data] => Array ( [0] => Array ( [name] => Mario Crudo [id] => 100000039375826 ) [1] => Array ( [name] => Fernando Dominguez [id] => 1767443257 ) [2] => Array ( [name] => Hugo Alza [id] => 100000891901863 ) [3] => Array ( [name] => Gaston Gomez [id] => 1124086634 ) ) [count] => 20 ) [comments] => Array ( [data] => Array ( [0] => Array ( [id] => 245417751855_10150913269391856_22075551 [from] => Array ( [name] => Juan Oscar Roldan [id] => 1635258298 ) [message] => un abrazo para uds....feliz dia [created_time] => 2012-07-20T12:08:01+0000 [likes] => 1 ) ) [count] => 1 ) ) [9] => Array ( [id] => 245417751855_10150912333491856 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) [story] => CLUB ATLETICO DEFENSORES DEL SUR added 5 new photos. [story_tags] => Array ( [0] => Array ( [0] => Array ( [id] => 245417751855 [name] => CLUB ATLETICO DEFENSORES DEL SUR [offset] => 0 [length] => 32 [type] => page ) ) ) [picture] => http://photos-a.ak.fbcdn.net/hphotos...76002877_s.jpg [link] => http://www.facebook.com/photo.php?fb...levant_count=5 [caption] => promesa del visonte [icon] => http://static.ak.fbcdn.net/rsrc.php/...tEh3RhPvjk.gif [type] => photo [object_id] => 10150912331911856 [created_time] => 2012-07-19T22:26:11+0000 [updated_time] => 2012-07-22T23:20:34+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Renzo Sanchez [id] => 100002698395287 ) [1] => Array ( [name] => Julian Machicotte [id] => 1068353877 ) [2] => Array ( [name] => Cali Aca [id] => 100000671526200 ) [3] => Array ( [name] => Vanesa Mendez [id] => 1229080415 ) ) [count] => 12 ) [comments] => Array ( [data] => Array ( [0] => Array ( [id] => 245417751855_10150912333491856_22071140 [from] => Array ( [name] => Hugo Alza [id] => 100000891901863 ) [message] => que grande dani buinisimo [created_time] => 2012-07-20T00:00:38+0000 [likes] => 1 ) [1] => Array ( [id] => 245417751855_10150912333491856_22071418 [from] => Array ( [name] => Vanesa Mendez [id] => 1229080415 ) [message] => eso se llama amor x el club esto va para lo q se hacen tatu de equipo de primera esto es amor verdadero buenisimo dani [created_time] => 2012-07-20T00:40:24+0000 [likes] => 2 ) [2] => Array ( [id] => 245417751855_10150912333491856_22099657 [from] => Array ( [name] => Javier Muñoz [id] => 1583531377 ) [message] => BUENISIMO DANI... [created_time] => 2012-07-22T23:20:34+0000 ) ) [count] => 3 ) ) [10] => Array ( [id] => 245417751855_10150912316321856 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) [message] => jugadores el domingo jugamos a las 16:00 estar antes .......y las chicas a las 13:00 gracias dt [type] => status [created_time] => 2012-07-19T22:14:11+0000 [updated_time] => 2012-07-19T23:22:17+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Gastón Piccini [id] => 1447364525 ) [1] => Array ( [name] => Caandee Meendoozaa [id] => 100002724823957 ) [2] => Array ( [name] => Hugo Alza [id] => 100000891901863 ) [3] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) [count] => 7 ) [comments] => Array ( [data] => Array ( [0] => Array ( [id] => 245417751855_10150912316321856_22070860 [from] => Array ( [name] => Lucho Skubij [id] => 1209127094 ) [message] => vamoooo [created_time] => 2012-07-19T23:22:17+0000 ) ) [count] => 1 ) ) [11] => Array ( [id] => 245417751855_10150912314646856 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) [message] => sábado pizzas y cara oque en el club ......confirmar su presencia equipossss femenino y masculino ...gracias. [type] => status [created_time] => 2012-07-19T22:12:57+0000 [updated_time] => 2012-07-21T22:10:09+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Loreley Martinez [id] => 100003998550834 ) [1] => Array ( [name] => Ale Gallay [id] => 1195531277 ) [2] => Array ( [name] => SoFii López Carp [id] => 1191661381 ) [3] => Array ( [name] => Caandee Meendoozaa [id] => 100002724823957 ) ) [count] => 7 ) [comments] => Array ( [data] => Array ( [0] => Array ( [id] => 245417751855_10150912314646856_22089378 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) [message] => Voy voy cheeeeeeeeee [created_time] => 2012-07-21T20:41:44+0000 ) [1] => Array ( [id] => 245417751855_10150912314646856_22090104 [from] => Array ( [name] => Lucho Skubij [id] => 1209127094 ) [message] => cara o que? ajajajajaja karaokee hdp [created_time] => 2012-07-21T22:10:09+0000 ) ) [count] => 8 ) ) [12] => Array ( [id] => 245417751855_10150911712966856 [from] => Array ( [name] => Vale Benedetti [id] => 100001124856993 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => chiicas jugamos a la una en la cancha del def y a las 4 alentar a los chicos si dios quiere defe campeon jeje [type] => status [created_time] => 2012-07-19T16:16:30+0000 [updated_time] => 2012-07-19T16:16:30+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Hugo Alza [id] => 100000891901863 ) [1] => Array ( [name] => SoFii López Carp [id] => 1191661381 ) [2] => Array ( [name] => Gaston Gomez [id] => 1124086634 ) [3] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) [count] => 5 ) [comments] => Array ( [count] => 0 ) ) [13] => Array ( [id] => 245417751855_10150911421541856 [from] => Array ( [name] => Lucho Skubij [id] => 1209127094 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => una persona publico esto en el muro de afag gualeguaychu.... EN FEDERACION ESTÃN ORGANIZANDO SEGUNDO TORNEO LIGAS AMATEUR EL O2 DE AGOSTO EN EL COMPLEJO JARDÃN REUNIÓN PARA LIGAS QUE DESEEN PARTICIPAR. alguien sabe algoo? [type] => status [created_time] => 2012-07-19T13:06:10+0000 [updated_time] => 2012-07-19T17:45:38+0000 [comments] => Array ( [data] => Array ( [0] => Array ( [id] => 245417751855_10150911421541856_22067898 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) [message] => jajajaja, bueno dale. hay que salir campeon el domingo si queremos viajar a ahi [created_time] => 2012-07-19T17:45:04+0000 ) [1] => Array ( [id] => 245417751855_10150911421541856_22067906 [from] => Array ( [name] => Lucho Skubij [id] => 1209127094 ) [message] => okeyyyyyyy :D [created_time] => 2012-07-19T17:45:38+0000 ) ) [count] => 7 ) ) [14] => Array ( [id] => 245417751855_267046373395723 [from] => Array ( [name] => Lucho Skubij [id] => 1209127094 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => miren este videito que puede servirle a muchos, es una buena manera de vendarse los tobillos y disminuir el riesgo de lesiones!! http://www.youtube.com/watch?v=DaoRM...eature=related [picture] => http://external.ak.fbcdn.net/safe_im...Fmqdefault.jpg [link] => http://www.youtube.com/watch?v=DaoRM...eature=related [source] => http://www.youtube.com/v/DaoRML6tTGo...e=1&autoplay=1 [name] => TÉCNICA DE VENDAJE [caption] => www.youtube.com [description] => Esta es la técnica adecuada para el vendaje de tobillo [icon] => http://static.ak.fbcdn.net/rsrc.php/...2OnaTyTQZE.gif [type] => video [created_time] => 2012-07-18T16:16:49+0000 [updated_time] => 2012-07-18T20:31:53+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) [count] => 1 ) [comments] => Array ( [data] => Array ( [0] => Array ( [id] => 245417751855_267046373395723_1068648 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) [message] => lucho conseguÃ* un vÃ*deo para no quebrarse el dedo y dejar el equipo sin arquero,,,,jajajajajajaja [created_time] => 2012-07-18T20:07:20+0000 [likes] => 1 ) [1] => Array ( [id] => 245417751855_267046373395723_1068698 [from] => Array ( [name] => Lucho Skubij [id] => 1209127094 ) [message] => ya mire varios de como vendarse los dedos y cuidarce etc etc.... [created_time] => 2012-07-18T20:31:53+0000 ) ) [count] => 5 ) ) [15] => Array ( [id] => 245417751855_10150909444486856 [from] => Array ( [name] => Vale Benedetti [id] => 100001124856993 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => hoy pratica de las chicas a las 14 hsss no faltar [type] => status [created_time] => 2012-07-18T12:19:20+0000 [updated_time] => 2012-07-18T12:19:20+0000 [comments] => Array ( [count] => 0 ) ) [16] => Array ( [id] => 245417751855_10150906136591856 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] =>
  #6 (permalink)  
Antiguo 22/07/2012, 18:40
Avatar de ONahuelO  
Fecha de Ingreso: junio-2009
Ubicación: Gualeguaychú, Argentina
Mensajes: 144
Antigüedad: 15 años, 5 meses
Puntos: 4
Respuesta: Leer muro facebook con su api

Club [id] => 245417751855 ) [story] => CLUB ATLETICO DEFENSORES DEL SUR updated their cover photo. [story_tags] => Array ( [0] => Array ( [0] => Array ( [id] => 245417751855 [name] => CLUB ATLETICO DEFENSORES DEL SUR [offset] => 0 [length] => 32 [type] => page ) ) ) [picture] => http://photos-g.ak.fbcdn.net/hphotos...16335811_s.jpg [link] => http://www.facebook.com/photo.php?fb...levant_count=1 [icon] => http://static.ak.fbcdn.net/rsrc.php/...tEh3RhPvjk.gif [type] => photo [object_id] => 10150906136471856 [created_time] => 2012-07-16T17:03:27+0000 [updated_time] => 2012-07-17T01:16:03+0000 [shares] => Array ( [count] => 12 ) [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Melissa Sotelo [id] => 1136787090 ) [1] => Array ( [name] => Malvi Malvi L [id] => 100000405591693 ) [2] => Array ( [name] => Caandee Meendoozaa [id] => 100002724823957 ) [3] => Array ( [name] => Hugo Enrique Falcon [id] => 100001614273121 ) ) [count] => 11 ) [comments] => Array ( [data] => Array ( [0] => Array ( [id] => 245417751855_10150906136591856_6589011 [from] => Array ( [name] => Gus Diaz [id] => 1425803161 ) [message] => jajaja se me ofendio Lucho con el comentario... va de onda nomas paja, sabes q te extrañamos ;) [created_time] => 2012-07-17T01:16:03+0000 [likes] => 1 ) ) [count] => 6 ) ) [17] => Array ( [id] => 245417751855_10150905035991856 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) [message] => felicitaciones equipo por el triunfo de este domingo ahora nos queda un paso mas ,vamos con ganas y con el compañerismo que nos caracteriza VAMOS DEFE.dt [type] => status [created_time] => 2012-07-16T01:10:41+0000 [updated_time] => 2012-07-16T01:15:03+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Vale Benedetti [id] => 100001124856993 ) [1] => Array ( [name] => Renzo Sanchez [id] => 100002698395287 ) [2] => Array ( [name] => Hugo Alza [id] => 100000891901863 ) [3] => Array ( [name] => Martin Rivas [id] => 100000443053144 ) ) [count] => 18 ) [comments] => Array ( [data] => Array ( [0] => Array ( [id] => 245417751855_10150905035991856_22027120 [from] => Array ( [name] => Soledad Juriol [id] => 1269861343 ) [message] => vamos DEFE que la vuelta queremos dar! [created_time] => 2012-07-16T01:15:03+0000 [likes] => 5 ) ) [count] => 1 ) ) [18] => Array ( [id] => 245417751855_10150904784481856 [from] => Array ( [name] => Lucho Skubij [id] => 1209127094 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => Regatas 3 - BOCA 2,,,,,, vamos que este domingo podemos dar la vueltaaaaaaaaaaa!!!!!!!! vamos defeeeeeee [type] => status [created_time] => 2012-07-15T22:00:19+0000 [updated_time] => 2012-07-16T02:19:16+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Rosa Vera [id] => 100001599634667 ) [1] => Array ( [name] => Lucho Skubij [id] => 1209127094 ) [2] => Array ( [name] => Hugo Alza [id] => 100000891901863 ) [3] => Array ( [name] => Guillermo Benedetti [id] => 100000161217443 ) ) [count] => 6 ) [comments] => Array ( [data] => Array ( [0] => Array ( [id] => 245417751855_10150904784481856_22025944 [from] => Array ( [name] => Gaston Gomez [id] => 1124086634 ) [message] => regata viejo no mas jajajaja [created_time] => 2012-07-15T22:25:16+0000 [likes] => 2 ) [1] => Array ( [id] => 245417751855_10150904784481856_22027453 [from] => Array ( [name] => Lucho Skubij [id] => 1209127094 ) [message] => 2 a 1 era jajaja [created_time] => 2012-07-16T02:19:01+0000 ) [2] => Array ( [id] => 245417751855_10150904784481856_22027454 [from] => Array ( [name] => Lucho Skubij [id] => 1209127094 ) [message] => con razon no me acordaba los goless [created_time] =>2012-07-16T02:19:16+0000 ) ) [count] => 3 ) ) [19] => Array ( [id] => 245417751855_10150903938641856 [from] => Array ( [name] => Vale Benedetti [id] => 100001124856993 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => VAMOSSSSS DEFE LO MEJOR PARA HOY [type] => status [created_time] => 2012-07-15T13:05:01+0000 [updated_time] => 2012-07-15T13:05:01+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Brian Peña [id] => 100000866068023 ) [1] => Array ( [name] => Daniela Rey [id] => 1026818933 ) [2] => Array ( [name] => Vale Benedetti [id] => 100001124856993 ) [3] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) [count] => 4 ) [comments] => Array ( [count] => 0 ) ) [20] => Array ( [id] => 245417751855_10150901641461856 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) [message] => EL MONITO!!! [picture] => http://photos-a.ak.fbcdn.net/hphotos...52382410_s.jpg [link] => http://www.facebook.com/photo.php?fb...levant_count=1 [icon] => http://static.ak.fbcdn.net/rsrc.php/...tEh3RhPvjk.gif [type] => photo [object_id] => 10150901641381856 [created_time] => 2012-07-14T03:13:00+0000 [updated_time] => 2012-07-14T16:39:51+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Yamill Caceres [id] => 100000303757591 ) [1] => Array ( [name] => Loreley Martinez [id] => 100003998550834 ) [2] => Array ( [name] => Rosa Vera [id] => 100001599634667 ) [3] => Array ( [name] => Daniela Rey [id] => 1026818933 ) ) [count] => 19 ) [comments] => Array ( [data] => Array ( [0] => Array ( [id] => 245417751855_10150901641461856_6572784 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) [message] => se te va a recordar siempre mono, gracias por tus asados, y tus partidos de bochas, y sobre todo por lo buena persona que eras. QUE EN PAZ DESCANSES. [created_time] => 2012-07-14T11:59:22+0000 [likes] => 4 ) [1] => Array ( [id] => 245417751855_10150901641461856_6574019 [from] => Array ( [name] => Mercedes Vela [id] => 100001357114032 ) [message] => por siempre se recuerda ..... [created_time] => 2012-07-14T16:39:51+0000 [likes] => 2 ) ) [count] => 6 ) ) [21] => Array ( [id] => 245417751855_10150901633736856 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) [story] => CLUB ATLETICO DEFENSORES DEL SUR added a new photo. [story_tags] => Array ( [0] => Array ( [0] => Array ( [id] => 245417751855 [name] => CLUB ATLETICO DEFENSORES DEL SUR [offset] => 0 [length] => 32 [type] => page ) ) ) [picture] => http://photos-c.ak.fbcdn.net/hphotos...08231721_s.jpg [link] => http://www.facebook.com/photo.php?fb...levant_count=1 [icon] => http://static.ak.fbcdn.net/rsrc.php/...tEh3RhPvjk.gif [type] => photo [object_id] => 10150901633676856 [created_time] => 2012-07-14T03:06:20+0000 [updated_time] => 2012-07-14T18:09:58+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Rosa Vera [id] => 100001599634667 ) [1] => Array ( [name] => Brian Peña [id] => 100000866068023 ) [2] => Array ( [name] => Daii López [id] => 100002012954373 ) [3] => Array ( [name] => Caandee Meendoozaa [id] => 100002724823957 ) ) [count] => 11 ) [comments] => Array ( [data] => Array ( [0] => Array ( [id] => 245417751855_10150901633736856_6573865 [from] => Array ( [name] => Cristian Retamosa [id] => 100003662813224 ) [message] => el lugar en el mundo de mi tio quitilo del cual hoy hace ya tres años que te fuiste... aca se te recuerda siempre tio fuiste un grande se te extraña viejo donde quieras que estes te abrazo... [created_time] => 2012-07-14T16:03:06+0000 ) [1] => Array ( [id] => 245417751855_10150901633736856_6574458 [from] => Array ( [name] => Maria Ester Cabezas [id] => 100001508357769 ) [message] => para mi son hermosos recuerdos,vivi en el barrio hasta los 5 años y mi papa jugaba a las bochas ahi¡¡¡¡¡igual todos los domingos volviamos,a visitar a mi abuelo,que vivio siempre ahi.....cuando valla voy a visitarlos.......
  #7 (permalink)  
Antiguo 22/07/2012, 18:41
Avatar de ONahuelO  
Fecha de Ingreso: junio-2009
Ubicación: Gualeguaychú, Argentina
Mensajes: 144
Antigüedad: 15 años, 5 meses
Puntos: 4
Respuesta: Leer muro facebook con su api

UN GRAN ABRAZO¡¡¡¡¡¡¡¡ [created_time] => 2012-07-14T18:09:58+0000 [likes] => 1 ) ) [count] => 4 ) ) [22] => Array ( [id] => 245417751855_10150900991706856 [from] => Array ( [name] => Julieta Duarte [id] => 100000863436014 ) [to] => Array ( [data] => Array ( [0] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) ) ) [message] => La amistad no se impone, ni se programa, como todo en la vida requiere de un esfuerzo para conseguirlo y lo más importante es poner los medios para lograrlo y mantenerlo. [type] => status [created_time] => 2012-07-13T19:01:08+0000 [updated_time] => 2012-07-13T19:01:08+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Noelia Elena [id] => 1505881492 ) [1] => Array ( [name] => Vale Benedetti [id] => 100001124856993 ) [2] => Array ( [name] => Soledad Juriol [id] => 1269861343 ) [3] => Array ( [name] => Daniela Rey [id] => 1026818933 ) ) [count] => 5 ) [comments] => Array ( [count] => 0 ) ) [23] => Array ( [id] => 245417751855_10150900288216856 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) [message] => jugadores jugamos a las 11 en el remanso estar antes y las chicas juegan después de nos ,les comento que la entrada va a costar $4 para darle una mano al jugador de chacarita que se quebró muchas gracias .dt [type] => status [created_time] => 2012-07-13T10:46:36+0000 [updated_time] => 2012-07-13T10:46:36+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Hugo Alza [id] => 100000891901863 ) [1] => Array ( [name] => Vale Benedetti [id] => 100001124856993 ) [2] => Array ( [name] => Mario Crudo [id] => 100000039375826 ) [3] => Array ( [name] => Julieta Duarte [id] => 100000863436014 ) ) [count] => 9 ) [comments] => Array ( [count] => 0 ) ) [24] => Array ( [id] => 245417751855_10150893802666856 [from] => Array ( [name] => CLUB ATLETICO DEFENSORES DEL SUR [category] => Club [id] => 245417751855 ) [message] => mala tarde para el defe perdiendo 2 a 1 contra primero de mayo .....se pierde un partido ......PERO NUNCA LA ALEGRÃA VAMOS DEFE JAJA [type] => status [created_time] => 2012-07-09T22:44:15+0000 [updated_time] => 2012-07-11T01:31:17+0000 [likes] => Array ( [data] => Array ( [0] => Array ( [name] => Brian Peña [id] => 100000866068023 ) [1] => Array ( [name] => Ritta Isasmendi Maciel [id] => 703065231 ) [2] => Array ( [name] => Joakko Galante [id] => 1433937089 ) [3] => Array ( [name] => Dani Verdinelli [id] => 1519501500 ) ) [count] => 14 ) [comments] => Array ( [data] => Array ( [0] => Array ( [id] => 245417751855_10150893802666856_21973916 [from] => Array ( [name] => Martin Zuloaga [id] => 100002340955307 ) [message] => Fuerza gurises que falta poco y juegan contra nosotros el domingo ..... Un abrazo [created_time] => 2012-07-10T16:52:06+0000 [likes] => 2 ) [1] => Array ( [id] => 245417751855_10150893802666856_21978415 [from] => Array ( [name] => Daniel Cepeda [id] => 100000749758500 ) [message] => martin tenemos q ablar aber como asemos [created_time] => 2012-07-11T01:31:17+0000 [likes] => 1 ) ) [count] => 4 ) ) ) [paging] => Array ( [previous] => https://graph.facebook.com/245417751...3&__previous=1 [next] => https://graph.facebook.com/245417751...til=1341873854 ) )


Perdon por tantos post seguidos pero no me dejaba publicarlo en uno solo.
  #8 (permalink)  
Antiguo 22/07/2012, 21:48
Avatar de patriciomase  
Fecha de Ingreso: abril-2012
Ubicación: Mar del Plata
Mensajes: 323
Antigüedad: 12 años, 7 meses
Puntos: 34
Respuesta: Leer muro facebook con su api

jajajajj ... bueno no se entiende nada la verdad jajajj..

al print_r() encerralo entre <pre> y </pre> y lo vas a ver mas claro, luego solo es cuestion de sacar de esa cosa gigante lo que te interese
  #9 (permalink)  
Antiguo 22/07/2012, 21:51
Avatar de patriciomase  
Fecha de Ingreso: abril-2012
Ubicación: Mar del Plata
Mensajes: 323
Antigüedad: 12 años, 7 meses
Puntos: 34
Respuesta: Leer muro facebook con su api

veo muchos [id], tratá de filtrar los que tengan tu id. No te puedo decir como porque así todo mezclado no entiendo bien la estructura del array
  #10 (permalink)  
Antiguo 05/03/2014, 21:27
 
Fecha de Ingreso: junio-2011
Ubicación: España
Mensajes: 8
Antigüedad: 13 años, 4 meses
Puntos: 0
Respuesta: Leer muro facebook con su api

Pero hay que poner el id_secreto,

es decir ahora vas tu ha hacerle esto a alguien, y hay que darlo de alta como desarrollador, porque sino no se puede ver su id_secreto.

En fin, no hay una mnera de leer datos, solo con el id de la pagina?

Respecto a tu pregunta, puedes usar esto

https://developers.facebook.com/tools/explorer/

aqui comprenderas como funciona el xml que te viene, para que lo trates como se merece y obtengas lo que quieres.

Etiquetas: api, facebook, muro
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 22:14.