Replacement for Facebook Chat API in v2.0?

23,711

Solution 1

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.

Solution 2

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.

Solution 3

While it's not a fully fledged API or anything, there's a libpurple (pidgin) plugin that I've confirmed works with the new Facebook chat restrictions: https://github.com/jgeboski/purple-facebook

Solution 4

Messanger API is here (can't post a comment yet) info: https://developers.facebook.com/blog/post/2015/03/25/introducing-messenger-platform-and-businesses-on-messenger/
api: https://developers.facebook.com/docs/messenger

however I didn't find anything that would be useful as a replacement for chat API

Solution 5

A couple days ago, Facebook just announced their new Messenger Platform

https://developers.facebook.com/docs/messenger-platform.

As for now, it can only be used with Facebook Page and use Webhooks as way to communicate with our app. It also able to send message with recipient's id or phone number if the recipient authorized it.

Share:
23,711
Nikolay Spassov
Author by

Nikolay Spassov

Updated on September 09, 2020

Comments

  • Nikolay Spassov
    Nikolay Spassov almost 4 years

    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!

  • Sauron
    Sauron over 9 years
    They just opened their messenger API up for developers two days ago
  • Jaspreet Chhabra
    Jaspreet Chhabra over 9 years
    @sauron : Can you give me the link
  • Septian Primadewa
    Septian Primadewa about 9 years
  • MKANET
    MKANET about 9 years
    I don't see any information about Windows API, only Android/Apple mobile app development. There's a Windows 8.1 app; but, it's basically Facebook webpage in full screen.
  • Mene
    Mene about 8 years
    This "refers to a feature that was removed after Graph API v2.4."
  • Ciprian Tomoiagă
    Ciprian Tomoiagă about 8 years
    can this be used to get past messages ?