Bot composer - Unable to Begin new Dialog after Cancel All active dialog - chatbot

I am using Bot Composer.
I want to cancel all dialogs at some point but then begin a new Dialog. Any solution to this?

You should put the Cancel all active dialogs after your Begin a new dialog.
I know it doesn't make sense to put it after but it works.

Related

How do I execute a function once a google form is finished inside a webview?

I am using Google Forms in my swift app. The user is supposed to click a button, and then go into a webview to complete the form. The problem is that, once the user completes the form, they are stuck on the finish page. I don't want to add a navigation controller in my app because the user would then be able to skip the form. I am having issues finding ways to make a function that is executed once the form is finished. Any help would be appreciated.
I found way to workaround the issue by providing a link at the end of the google form to finish the form. The webview would then recognize the changed url.

Submitting Facebook open graph action

I am trying to submit a facebook opengraph action. It is a simple "Read" "Article" action, however when I submit it for approval facebook eventually responds with this error.
"Status: Changes needed
You are trying to submit a custom action which is not permitted. Please delete this action and submit a built-in version of this action instead.
Please make changes below and resubmit for review."
I am not sure what that means, as far as I know it is not a custom action that I created.
Click to create a new action type, and when the text box appears, start typing "read" and then select the option that drops down. That is the built-in read action.
I had the same issue, it seems FB doesn't allow to add built in actions as custom for some unknown reason, may be they have some future plan with them for AI stuff. The only the thing I see in built in read is its very limited.
try this tutorial http://onlytipsandtricks.com/facebook/how-to-publish-actions-on-timeline/

Facebook Style Message Popup?

My site has a Send Message button next to the link to a users profile. When the user clicks on it (using the onClick handler) I want to open a Facebook-style message window, instead of a new window (window.open() method).
It doesn't have to be exactly the same as Facebook's, but I want a similar kind of thing.
Check out Jquery-UI. they have a lot of popuppable windows. Probably want to couple that with some Ajax, and bam, dynamic message popups.

Can I change the facebook connect button?

Can I change the default button of Facebook connect by an other picture ?
I am setting up the registration process of my website and would like to use the Open Graph API. The button is pretty ugly and not very user friendly do you know if I can change it by my own ?
Thank you
With the new connect-js it is quite trivial. Just attach a js click event and then call FB.login(callback)
http://github.com/facebook/connect-js/blob/master/examples/jquery/login.html

XULRunner Busy/Loading indicator

I have an XULRunner based application in which I need to (a) ask for user input using a custom dialog, and when the user clicks "OK", (b) perform the requested operation. This operation is an asynchronous operation on a server, and can take some time, so I would like to show a "loading" dialog or some form of busy indicator. I have tried to create a custom modal dialog that has a single label with "Please wait..." message, and close the dialog upon server reply; but server reply seems to be getting blocked while this modal dialog is open. Should I open the modal dialog in a certain way or run the operation in some kind of a thread so that the reply can be processed even while the modal dialog is open? I have tried to look up documentation, but couldn't find anything useful. Appreciate any help from the stackoverflow community.
Thanks in advance for your help.
server reply seems to be getting blocked while this modal dialog is open
This is not supposed to happen.
What XULRunner on what OS are you trying to use? How do you open a modal dialog? How do you interact with the server?
It would be best if you produced a simple testcase that can be used to reproduce the problem.