Facebook Ads page_welcome_message invalid for ads with Messenger as destination - facebook

trying to run a 'Traffic' ad to a Facebook Messenger bot.
In order to initiate the bot conversation I need to use the 'Get Started' button as part of the messenger ad conversation and therefore need to use the "Structured Message (JSON)" option.
I cannot submit the ad since it always fails with this error
"Invalid Page Welcome Message for Messenger Destination Ads: The Message Text (page_welcome_message) is invalid for ads with Messenger as destination."
It's unclear what "page_welcome_message" is and where to set it.
I tried researching the FB community and tried to reach out but to no avail - although I did find other people with the same issue.

Turns out that the JSON that Facebook creates using the "Quick Creation" feature is causing the issue.
With a manually created JSON, I'm able to submit the ad successfully.

Related

Facebook Messanger App callback doesn't call my app

I created chatbot for Facebook. I tested in on one fanpage, got business and api permissions verfications from Facebook and I wanted to add the bot to more fanpages. I did it as before, I setted all Webhooks like messages, message_echoes but Facebook doesn't call my app. I'm checking it in debuging tool that shows network traffic to my server.
I tried to remove and add callback, fanpages, but nothing gets change.
The first fanpage still works all fine, but others don't call my bot on any message. Why?
assume you link your app to first fanpage with oauth dialog like this before.
oauth dialog : (See: https://developers.facebook.com/docs/marketing-api/overview/authorization)
https://www.facebook.com/v12.0/dialog/oauth
?client_id=<YOUR_APP_ID>
&redirect_uri=<YOUR_URL>
&scope=pages_messaging
when linking another fanpage with oauth dialog,
should click that edit settings button:
choose another fanpage:
now you receive webhooks from other fanpages.
So, problem was in my code. I was checking if request was sent using Symfony profiler. The problem was, it didn't save request if the process was stopped. And it was. I had "die" in some trycatch...

IBM watson chatbot for facebook messenger

I am trying to implement IBM Watson chatbot into facebook messenger. I am able to verify my webhook. Also, able to receive and send custom messages through facebook to my webhook.
The problem is that i can't receive messages from IBM Watson. IBM Watson is not able to detect my messages and provide appropriate response. Also, can't receive my welcome message from IBM Watson in facebook messenger when chat window is opened. The tutorial which I followed was on youtube and the link is https://www.youtube.com/watch?v=FdsjS7ZnPLw
Any suggestion would be a great help. Thanks.
The most common cause is not subscribing your webhook to a page after creating it.
The UI doesn't appear until you create your webhook in FB (It's been a year since I have had to do it, so it may have changed).
If that is set up, try connecting to your application layer in postman and make sure you are sending and receiving the right information.
Regarding Welcome message:
The Welcome node of your dialog is not processed by the Facebook Messenger integration. The welcome message is not displayed in the Facebook chat like it is in the "Try it out" pane or in the Preview Link integration web page. It is not triggered from here because nodes with the welcome special condition are skipped in dialog flows that are started by users. Facebook Messenger waits for the user to initiate the conversation. If you need to set default values for context variables at the start of your conversation, do not set them in the welcome node.
for more information check: Integrating IBM Watson Assistant with Facebook Messenger

Account Linking Failed in facebook messenger platform using node.js

Facebook messenger chat bot account linking process failed. I followed the process in facebook account linking process.
In my case I fixed this error by subscribing to the "messaging_account_linking" webhook event in the Facebook app settings.
Remove the unwanted ASCII characters, it will work fine.

Why Facebook Messenger bot publish is not happening?

Am Developing Facebook Messenger bot, Its working fine for my test users who are added as testers in Roles option in dashboard.
I have put my messenger bot for review. its not happening, reviewer messege say's "We received no automated response when we messaged your Page. Please ensure your experience is working as intended and resubmit".
Please help me out.
I am getting this error from last 10 days.
Make sure your Facebook app is live, go to you Facebook app dashboard, navigate to app review and turn on the first option to make your app live.
Remember, Facebook reviewers are considered "public" and the Messenger bot won't work for them unless the app is live.

ui.methods permissions.request in share url

Earlier today I noticed a friend shared a Viddy video which made me curious. When I clicked on the share link I immediately got an authorization request dialog with custom text on the "next/login" button (Watch the movie). The URL for this share which triggered the behavior was this:
http://www.facebook.com/
connect/
uiserver.php?
app_id=125119214225766
method=permissions.request
redirect_uri=http%3A%2F%2Fwww.viddy.com%2Fvideo%2F2f44f934-bc2f-419f-b462-c46f261744ee
response_type=code
display=async
perms=email%2Cpublish_actions
auth_referral=1
fb_private_mode_enc=ASJbi0_rc8L9GhOWGzXF1eZQgqGW6WhIquDadvKiRi8uZRozkFn937vhtfsR_Krg8iM
I've looked around trying to find this feature documented. How am I suppose to generate such share URLs? I found some documentation on fbdevwiki.com, but that does not cover most of the arguments. If anyone could guide me to some documents I'd be very grateful.
That's an app using Authenticated Referrals so that users are prompted to grant permission directly on Facebook's chrome instead of landing on your app unauthenticated, and then bounced to an auth dialog and back to the app again.
The 'watch video' text in the auth dialog is because this app is publishing 'watch' actions in the Open Graph API
{edit} it appears the 'watch video' link is only shown for preselected partners and isn't available for all video apps
{/edit}
The generated url you see is generated by the app, you can achieve this by creating your own app and giving it the permission.
You can start by going to Facebook Developer