Facebook Graph API conversation reply limit lifted? - facebook

I developed while back a facebook graph api app that used the conversations edge to read messages and then reply back, this was done using the v2.3 version of the API.
Back then the API at
https://developers.facebook.com/docs/graph-api/reference/v2.3/conversation/messages#publish
stated that:
Note that a page can only reply to a user's message. It cannot
initiate a private message with a user. Also, a page can respond not
more than twice to a user's message before the user has replied back
But now i have to upgrade to v2.4 and i can't seem to find anywhere the above statement.
Does anyone now if this limit has been lifted?

https://developers.facebook.com/docs/graph-api/reference/v2.4/conversation/messages/
Pages can only reply to a message - they cannot initiate a conversation.
It´s right there, not all of it though. Just try to post more than 2 reply messages. I don´t think it has been lifted though, there is nothing about it in the changelog.

Related

Facebook Chatbot delete messages by id

does anybody know if it is possible to delete messages by id.
For example I have an update for my content so that the user must not see any outdated messages. Didn't find anything in the graph API...
Message docs
thx
franzus
Facebook does not allow you to delete messages using the Messenger API, or the Graph API
I am not aware or, nor have found documentation for, a method that does DELETE operations (or UPDATE for that matter) on a FB Message.
The Messenger Docs provide methods for sending messsages, subscribing a page to your application's webhook, retrieving user profile information, and setting various options for your bot.

Forward my received Facebook messages (chat + messages) to my email inbox, and subsequently delete them from my Facebook inbox

Facebook does not offer a feature which forwards ALL my received messages to my email inbox, and subsequently deletes them from my facebook inbox. Is there an existing application or online service which offers this functionality? If no:
I want to write a script which does exactly that. It should poll regularly if a new message has arrived. If yes, it should forward it to my email address and delete it from my FB inbox automatically, without user interaction.
Which scripting languages are suited for that task, which classes and methods? Is it advisable to move that script to a web server so it runs continuously without user interaction? How can one go about that?
Facebook does not delete anything, only you can delete inbox messages.
Anyway, what you are trying to achieve is not possible, access to the inbox is not possible anymore. Facebook removed the API endpoint for it.
You will need to use facebook graph extended permissions "read_mailbox" to read the facebook messages.
Please note that this extended permission is available only for facebook graph API version 2.3 (not available for version 2.4 and up).
You can read the facebook messages every 5/10 minutes (via graph API) and in the case of a new message you can create a new self email message with the facebook message.
You will NOT be able to delete the facebook message (read mode only)
Hope this helps.
Good luck!

Facebook api feed : how post message in a single user wall?

I use facebook SDK javascript to post a message from a website to my wall on facebook.
When I post, I can choose the users who can read my message.
Can I change the script to send a message directly to one or any users automatically?
To send a private message through facebook API is not intended behavior. to prevent spam it is assumed. This can be overcome by sending an email to facebook_username#facebook.com and it will appear as an instant message to the user. This is NOT an intended solution however and it is EXPRESSLY discouraged in the facebook docs.

Facebook Graph API, mark inbox as read?

Okay I think the title pretty much sums it up but I'll explain my situation anyway. I have written a desktop app using the Facebook C# SDK and Graph API which notifys me when I have new notifications and new (unread) messages in my inbox and it seems to work but the facebook graph api even when I use Facebooks Graph API explorer to get /me/inbox (this is specific to my facebook account) has an inbox thread that is marked as unread but does not show up on facebooks website or any of the Facebook apps i use (android/iPhone) so I can see in the api explorer everything about the thread and theres a message under the "message" field but doesn't have anything in "comments". Anyway my problem is when I use this new app i've written this keep showing up and as it doesnt show in messages on facebooks website or the facebook mobile apps, I cannot mark it as read. So is there a way to do this manually using the graph API even just so I can do it with the api explorer because I dont want it forever showing in my app, I know that i can mark notifications as read this way but I cannot work out how to mark this inbox thread as read. I could always hardcode the thread id into my app and tell it to ignore it but this is an extremely unelegant solution especially considering I am not the only person who will use this app. Even a way to delete the thread completely by graph API, is this possible?
EDIT: I have tried POST https://graph.facebook.com/(thread_id) with fields "unread": 0 but that did not work
No, there is no permissions in the current APIs that Facebook has available other than Read-Only access to a user's Inbox.

How can I send a message/notification/inbox message to all of a page's fans?

Have been searching over the Graph API docs, looking for the answer to this. I have been told and now am pretty sure there is no way for all fan page fans/people that like it to see a message in semi-real-time. I know I could send emails to the users if they use the application, but other then that I don't see anyway possible. This is for my application that provides brand engagement with live events.
Help?
You can post a status update to the wall and that will show up on their feed. That is the best you can do if you haven't collected email addresses.