I was researching this topic and I found that there was an answer in StackOverflow in 2013. It uses "send dialog" api of Facebook.
However it couldn't send automated/pre-filled message on behalf of the user. Is it still true now as of Oct. 2015?
Another similar question was asked here in 2012.
First of all, prefilling is not allowed according to the platform policy. That being said, the Chat API is gone and there is no alternative. You can't send messages with any API anymore, you can only use the Send or Message Dialogs. See official docs for more information about those.
Automated messages to friends would ALWAYS be spam, so there is a good reason why it is not possible and not allowed.
Related
We use the Facebook API in our web app to provide a "publish to Facebook group" feature directly from the web app. Customers can publish the results they are achieving thanks to our products in our group.
To implement this very simple feature we had to duck, provide screen recordings, send business registration papers, give login credentials, describe the process from every perspective, crawl and bent.
Then
on Dec 15, we received the following message:
"We’re now requiring an admin of your business, [....], to complete access verification. This is a new process that asks for information about how you use the Meta business assets and information of your clients, so we can verify that your business is a Tech Provider."
Also in the same message:
"This typically takes around 10 minutes to complete and you’ll only need to do this once."
Since then I filled in the form 9 times, with serious effort. But every 5 days it just get rejected without a clear reason given, and there is no chance to contact a Facebook support.
Does anyone know how to fill in the "Access Verification - prove you are a Tech Provider form", so I will get accepted?
The actual questions that they keep asking are:
Add details about how your business will use Platform Data (i.e., any info or data you obtain from us) to enable a product or service on behalf of your clients.
Describe how your clients use your product or service.
I already tried the solution proposed here:
Stuck in Facebooks Access Verification hell
quoting their questions, but it has been in vain...
The time is running out, in some days Facebook is going to block the API if we don't pass this verification process, but I don't know what else we can try...
I tried to contact Facebook, but this seems to be impossible. Some forms (App Review Support) just give a generic error message.
I tried to post a request of help to the Facebook Developer Group, but they rejected the request because it's not related to a development issue.
Same when I tried to open a ticket with the Facebook tech support for a bug; they answered that it's not a technical issue.
There is no guide from Facebook on how they want this information to be provided.
Is there Kakao Talk Messaging API which is equivalent to LINE's Messaging API?
LINE has "Messaging API" which allows 3rd party application to do following.
Auto-reply to message from LINE user
Push message to LINE user in an arbitrary timing
etc.
https://developers.line.me/en/services/messaging-api/
I'd like to do same thing with Kakao Talk, but I haven't been able to find 2 API to push message to Kakao Talk user in an arbitrary timing.
I studied Kakao Talk APIs in the Kakao Talk developer site, but I couldn't find the equivalent APIs...
https://developers.kakao.com/features/platform
Also, I found the stackoverflow question KakaoTalk API - Bot, which suggests that I can do this in the Plus Friends account.
So I created an app in the Plus Friend account from the link below. The page is in Korean only, so I tried to understand the contents with Google Translate...
https://center-pf.kakao.com/
I found an Smart Chat API to receive and auto-reply message between Plus Friend account and Kakao Talk user.
However, this API does not support push message feature...
Could someone please advise where I can find the API to push message to Kakao Talk user from 3rd party app?
I found that Kakao Talk does not disclose API for push message to Kakao Talk user to public. It is only available through their channel partner. So, I will close this question.
i am developing fb chat bot, and i want to mark the message as read so that when the moderator of our fb page view the message part, they won't see so many unread messages even though the fb chat bot has already replied that user and they don't need to click that message just to mark it as "read".
How can i achieve this? I am trying to use this API: but it doesn't work.
https://developers.facebook.com/docs/messenger-platform/send-api-reference/sender-actions
You can not mark message as read (as of now), but the best way I deal with this is to use Handover Protocol
When your bot reply the message, it won't appear in INBOX, but it goes to DONE box instead.
When bot cannot answer, you can let your bot pass thread to INBOX. Then the moderator of page manually answer it. (and mark as DONE afterward)
Follow the instruction here to set it up:
https://developers.facebook.com/docs/messenger-platform/handover-protocol/pass-thread-control
(Note: You can pass thread to page inbox and then take thread back immediately. I will notify to INBOX, but your bot can still work with users.)
When you use the API you sent here (Facebook's Send API), you only mark the message as "seen" from the bot on the Messenger Chat that you have with your users. This doesn't affect the messages inside your Page's inbox.
Unfortunately, there is no way to mark messages as read inside your Page's inbox.
Is this new feature of fb bot? Thanks btw! I will try to check this.
Is there any side effects in Marking the message as done ???
To answer your question:
There are some bugs within the Inbox/Pages Manager mobile app. You won't see the messages in DONE folder if your admins are using Pages Manager mobile app for now.
I've reported the issue and working with them to solve it. However, you can still see those messages in DONE folder if you use a computer and go into your page's Inbox.
NOTE: It seems that messages moved to Inbox will be marked as seen (not bolded). This may be a little confusing if your admins don't mark each conversation as DONE after admin finishes conversation with the users.
Does anyone know a way to fetch a user/page inbox messages in real time?
I've found this link, but there is no mention about inbox messages.
The Real-time updates are about... -updates-. That means you will only get notified about changes in the fields described in that link (not regarding the Payments API, that's a different case).
So, you can't get real-time inbox messages.
You can subscribe to the notifications, but I'm not really sure if Messages notifications are included in those...
And in that case what's the name of the permission/method/function etc.
I believe user-to-user is possible (At least I have seen for chat in OmgPop)
For application to user,
You can only read for now using the /inbox endpoint.
You will need the read_mailbox permission.
You can read more from the 2009 post.
While we currently don't allow applications to send messages through this API, we're always thinking about new functionality to offer through Facebook Platform.