elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Introducción a Git (Primera Parte)


+  Foro de elhacker.net
|-+  Programación
| |-+  Scripting
| | |-+  [DUDA] Se puede detectar un mensaje de faceboock, o cualquier otra red social?
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: [DUDA] Se puede detectar un mensaje de faceboock, o cualquier otra red social?  (Leído 2,766 veces)
Srare

Desconectado Desconectado

Mensajes: 12


Ver Perfil
[DUDA] Se puede detectar un mensaje de faceboock, o cualquier otra red social?
« en: 27 Abril 2014, 16:57 pm »

Como dice el titulo, quisisera saber si es posible detectar un mensaje mediante internet, es decir, que   llegue un mensaje, y que se active un codigo por ejemplo un msgbox en vbs que te avise que llego un msj,Muchas gracias, Saludos :D


En línea

Eleкtro
Ex-Staff
*
Desconectado Desconectado

Mensajes: 9.788



Ver Perfil
Re: [DUDA] Se puede detectar un mensaje de faceboock, o cualquier otra red social?
« Respuesta #1 en: 27 Abril 2014, 17:34 pm »

Con la API (por ejemplo) de dicha red social, aunque nunca lo he intentado.

https://developers.facebook.com/apps/
Citar
Become a Facebook Developer
Crea aplicaciones sociales excepcionales y obtén más instalaciones
Register Now

+ https://developers.facebook.com/docs/graph-api/quickstart + https://developers.facebook.com/docs/graph-api/reference/message + https://developers.facebook.com/docs/graph-api/reference/page + https://developers.facebook.com/docs/chat/

+

The notification pearl for messages does not show the number of unread messages. The notification pearl tells you that you have new messages. Once you click the pearl, even if you don't read the messages, it will reset. This is just from my memory so you should set up some test accounts to verify the behavior. Facebook has made it really easy to set up test accounts by editing your app and then clicking on Roles->Test Users->Create. By opening two browsers (Chrome & Firefox for example) you can be logged in as two separate users and message back and forth to verify the behavior.

If you want to see where the count of 14 unread messages is coming from, do the following:

    Go to http://www.facebook.com/messages/
    In the Search Messages box put is:unread (or use the drop-down by clicking the magnifying glass).
    You should see a list of all your unread messages. Should be 14 for you.

As far as I know, there is no way to get the number of new messages highlighted in the notification pearl, but the API is big and maybe someone else knows.

The closest thing might be the notifications FQL, but as far as I can see it does not include mailbox notifications. You should verify this on your own since I don't have time at the moment to send a new message between test accounts.

+

Actually theres a super easy way to see how many messages you have. Just go to m.facebook.com/messages first. And I realize this is the mobile version of facebook, but you can do this on the computer. Click on the person you're having a conversation with that you want to find out the number of messages for. Right click on "See Older Messages" and click "open in new window" or "open in new tab"; It doesn't really matter. After that look in your adress bar and you'll see something like 0&forward=0&start= somewhere in the adress bar. Then right after that part you should see a number. That is the number of messages in your conversation. And as a bonus, if you want to see your first 200 or so messages, change that number to any number lower than 200 and you'll see your first messages with someone.


En resumen,
Si buscas algo regalado, nadie te va a hacer el trabajo, hay que desarrollar la aplicación ...y no es tarea facil.

PD: Con el resto de redes sociales, también.

Saludos


En línea

Srare

Desconectado Desconectado

Mensajes: 12


Ver Perfil
Re: [DUDA] Se puede detectar un mensaje de faceboock, o cualquier otra red social?
« Respuesta #2 en: 27 Abril 2014, 18:58 pm »

Muchas gracias Elektro, realmente necesitaba esto...
En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Bypass Recaptcha y cualquier otra « 1 2 »
Nivel Web
~ Yoya ~ 13 9,580 Último mensaje 19 Julio 2012, 04:51 am
por ~ Yoya ~
Multa de 2.000 euros por suplantar a otra persona en una red social
Noticias
wolfbcn 0 1,288 Último mensaje 28 Octubre 2011, 01:43 am
por wolfbcn
Cómo detectar cualquier actividad sospechosa o problema en nuestro router
Noticias
wolfbcn 0 1,295 Último mensaje 8 Febrero 2016, 21:25 pm
por wolfbcn
recuperar metadatos de cualquier red social que lo elimine
Seguridad
Robocop8 1 2,778 Último mensaje 16 Enero 2018, 19:05 pm
por engel lex
se puede hackear contraseñas de faceboock)=?
Hacking
pachakpo 7 3,979 Último mensaje 21 Enero 2022, 02:13 am
por El_Andaluz
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines