Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Replacement for Facebook Chat API in v2.0? [closed]

Facebook will be deprecating their chat API that currently allows sending chat messages via XMPP.

My company is currently working on a product that may take advantage of the chat API and I would like to know more about the future of this service.

Will the current XMPP-based chat API be replaced with a new version next year? Or is it going to be obsolete?

Any input on this will be appreciated!

like image 560
Nikolay Spassov Avatar asked Jun 02 '14 07:06

Nikolay Spassov


People also ask

Is there an API for Facebook Messenger?

The Send API is the main API used to send messages to users, including text, attachments, structured message templates, sender actions, and more.

What kind of files can you send in Messenger?

Once you've mastered the Messenger app, with just a few clicks and taps, you'll be able to share pictures, videos, PDF files, and more successfully, no matter which device you're using.

What is Facebook conversation API?

Retrieve conversations between your Instagram Professional account and your customers. Calls to the Conversation API will return: A list of conversations for your Instagram Professional account. A list of messages within each conversation.

What's new on Messenger?

Meta is rolling out a large Messenger update that brings many of the service's features to encrypted conversations. You can use reactions, stickers (including GIFs), message-specific replies and forwarding. You'll also see typing indicators, verified user badges and screenshot notifications.


2 Answers

The Facebook XMPP Chat API has been deprecated in v2.0 and above meaning it won't be available after April 30th 2015.

Facebook have not announced any replacement for this API, so I'd recommend not building a product which requires this functionality.

like image 169
Simon Cross Avatar answered Sep 28 '22 21:09

Simon Cross


The closest thing that I've found so far is this endpoint:

GET /v2.2/me/inbox

(https://developers.facebook.com/docs/graph-api/reference/v2.2/user/inbox)

This allows you to read all the messages. You will need a read_mailbox permission. But you can't publish, update nor delete.

like image 35
elecay Avatar answered Sep 28 '22 20:09

elecay