Facebook Messenger Platform - Detect user typing - facebook-messenger

When developing bots, it's common practice to show typing indicator to user, while bot is working on background, but is it possible to detect opposite situation: whether USER is typing or idle? I could not find any info in docs or google. Does anybody know how to achieve that?

This currently can't be done.
You can only show the user that you are typing.
"typing_on" and "typing_off" for the sender_action.

I made it using twisted way,
Using image processing i take screenshot and see if he is typing or not using python sc

Related

Pepper not respoding to Dialog

I am using Naoqi's dialogs and using multiple topics. I checked with
ALDialog.getAllLoadedTopics and ALDialog.getActivatedTopics
They both show that my topics are loaded and activated. But Pepper doesn't respond to most of the activated topics. When I enter the same text on the Dialog input on Choregraphe, pepper replies correctly but not using voice commands.
I guess the Speech Recognition is in a weird state ? this has happened to me before during development, and issuing a "nao restart" to reload naoqi does solve the issue.
For me mostly is happening when I switched between two languages in another package. To avoid add set language and speech recognition language to your target language. It should work.

Add badge for android with codenameone

We tried more time to find badges with android using codename one, but I found some comments in stackoverflow is only working on IOS and not working on android, if true so when will it become available on android?.
Thanks in advance
When we created the badge code Android didn't support that UI paradigm. Arguably it still doesn't but some vendors include that functionality with a special API.
Currently the main thing holding this back is that no one asked for it or implemented it. First of all I suggest filing an RFE which will give you a way to track the schedule for adding this. You can add an RFE on http://github.com/codenameone/CodenameOne/issues/
You can also just implement this yourself and submit a pull request as explained in this post: https://www.codenameone.com/blog/how-to-use-the-codename-one-sources.html
This should be relatively easy although you will need to be careful with using the right API level options and might need to use reflection to avoid SDK dependencies which we don't want.
Other than that it's just a matter of interest if we need to implement it. If you have an enterprise account then make sure to let us know through the account of your interest in this feature. We also take pro account requests more seriously when assigning a feature.

"orca2.db" is not appearing in my windows messenger application

In my windows 10 the orca2.db which is basically a small backup (cache) of the messenger in our system is not appearing (after i log in with another account) also the fbsyncstore.db is appearing empty but it should not do this.
I have tried to reinstall the messenger application and still facing the same problem.
Its completely abstract question didn't make any sense for what purpose you are using it and what you want to achieve ....

Uploading a file to AppEngine using GWT: How to provide feedback to the user?

I have a GWT-FormPanel on my website, where people can upload pictures and answer some questions. It's working very well. The only problem is: I would like to provide a feedback to the user (for example: 0% to 100%) during the actual file process. But I have no idea how I can do that. I think that's a very common issue, that's why I would like to ask you guys if you know any tutorial or example that could help me to solve this problem.
I've already tried GWTUpload, but it does not do what I want: I have a submit button at the end of the FormPanel and the GWTUpload has it's own "SEND" button, which I don't want to have.
Thanks in advance for helping and merry Christmas!
From your problem statement you mean to say that you want to provide the progress bar while uploading file starting from 0 to 100%.
Take a look to this library: http://code.google.com/p/gwtupload/. This will may solve your problem.And it is also working well in all browsers and also on Linux,Mac.
Looks like GWTUpload allows to use custom submit button. Haven't tried it so maybe i'm wrong.

Hows Mozenda Screen Scraper coded?

I want to know how is the Mozenda Screen Scraper coded?
http://www.mozenda.com/screen-scraper
I shows a browser where user can select the fields he wants to scrap and it creates a crawl script out of it.
The crawl script generation part is clear to me, I want to know does it record the user actions which the user is doing in the browser.
I want to do something similar using C#.
I guess they run something like iMacros on the backend. I even noticed the iMacros browser icon in some of their screenshots ;-)
If you want to code something like this yourself in C#, the IE webbrowser control is the best starting point!
#yc08m, I can tell you for sure that they are not using iMacros. It is all coded with their own proprietary code.
I realize this is an extremely outdated post, but they seem to rely heavily on XPath, so first things first you would need to load the page into an object that you can query. I'd recommend using something like Html Agility pack to accomplish this.

Resources