I am trying to build an Chat app in which I can receive & send messages to my friends from/into Facebook Messenger using APIs.
Does Facebook provide such APIs to do so?
I tried to find the way, maybe we can do it using Webhook, but I think using webhook we only can send the message. Is there any android demo for this? Please share a link if you have any.
Please suggest what I can do to achieve this if you have any ideas.
Does Facebook provide such APIs to do so?
No.
There are no APIs for user-to-user communication via Messenger.
Only conversations between a user and a page can be handled via API.
Related
Recently I found some amazing apps
https://play.google.com/store/apps/details?id=com.onetalkapp&hl=en
or
https://play.google.com/store/apps/details?id=com.flyperinc.notifly
They can intercept messages and replay through their UIs without using original messenger apps.
I Know it is possible to monitor incoming messages by Notification with some permissions.
But I have no idea how to send messages out without using original Apps?
It seems to me it might have security issues..
Thanks a lot.
For telegram I know you should create app with telegram API, you can find guidance on the telegram site.
Once you have configured your API key in your app, you could send messages, read them or even get the telegram contacts with these methods.
What i need: I need to read messages of Hangout or any other default apps of android, so i send reply back according to the messages. Although Hangout api not giving access to read the messages (Based on my research), but Gmail giving api for read, modify and send emails.
Is there any other alternative to do such kind of work with internet messaging for reading the messaging on backend service to send reply from my own application.
Looking forward for serious answers, any help could be appreciated thanks in Advance.
I am making an application in which I need to implement chat features. We have our own server from we get friends list from the server.
I need to send msg to that friends and get reply message from that friends. For this I think I have to send msg to server of that friend in which I have to chat.
But I am unable to understand how to get reply from the server of a chat message.
Please help
You can use different APIs to implement the chat feature. Here is the link for sample open source chat application which using Smack api.
http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/
see the sample application which is based XMPP protocol. You can configure your google account for testing.
You can implement the chat features either by using third party API like (Smack ,Asmack) or by implementing your client server logic. I will prefer you to use above API for implementing chat features in your application.
I want to develop a app which can get notifications from gmail, twitter and facebook. Something like BlingBoard (https://play.google.com/store/apps/details?id=com.jappka.blingboard&hl=en).
I have started to use the facebook sdk, have done nothing for gmail and twitter yet. Is there any other way to access the notifications or using their api's is probably the only way to go about this.
Thanks for your help
For Email:
Use K9 Client android.
For Facebook:
Create Broadcast reciever to recieve notifications.
For Twitter :
Same.
i have a problem that i am using web services and want that for example i have implemented facebook in my application and want that all the notification that arise in my facebook will get notified in my android phone even if application is installed but not opened in phone. So, to implement this into my application i think i have to use cloud computing but how can i do this i dont know. Can anyone help me out of this problem?
Thanks
I don't know what kind of application you have already written, but you need the implement a backend that checks the Facebook notifications, which can (probably) be done using the Facebook API: http://developers.facebook.com/blog/post/291
To send the notifications to the phone, you can use push notifications. Since 2.2 this can be done with Cloud To Device Messaging:
http://android-developers.blogspot.com/2010/05/android-cloud-to-device-messaging.html
and
http://blog.boxedice.com/2010/10/07/android-push-notifications-tutorial/