How to get the time - time

I have searched all over this forum and other places but cannot find the answer so I decided to ask instead. Is there any way that I can program the chatbot in Dialogflow to tell me the current time because I can find anything that helps. Thank you in advance.

create an intent
enable webhook
get the current time using new Date() in NodeJS
format the time
send it to the user

Related

Graph API (#4) Application request limit reached | Facebook comments plugin how get all comments from application with one request

Friends I know there are 2 similar questions in StackOverflow. I know that
this is not Facebook forums. So Before Starting to write any (bad)
comment, please read the question. I need help, that's why I'm writing
here, maybe somebody knows the answer.
I have website where I connected Facebook comment plugin to let users comment each publciation. Now I need to sync comments count to my database. I know that I can subscribe to Facebook events, but that solution do not fit my needs.
I wrote a command in Laravel to make it. For each publication I request Graph API with this url
https://graph.facebook.com/v6.0/$articleUrl?fields=engagement&access_token=$appId|$appSecret
to get that count and sync data to DB. Cause I have many publications after some requests I start to get this message
(#4) Application request limit reached
Now the question: Is there any way to avoid this limitation OR to get all publications' comments in one request?
I was trying to find solution for some 2 hours and all old similar questions in StackOverflow didn't help me, I found nothing in Graph API documentation.

Outlook/Exchange RoomFinder (w/ Lex)

I'm an intern and I've been tasked with creating a RoomFinder API for Outlook that works with Amazon's Lex/Lambda to find a location and schedule meetings given a list of participants. The API is supposed to be able to pull the calendars from Outlook for the individual participants, find a time that works for all of them and a location with a proper seating capacity, and then schedule the meeting+add it to the calendars of those involved. I have a pretty good understanding of how Lex works and have created my own functions using Lambda before but I don't even know where to begin when it comes to pulling the calendars from Outlook for the participants.
I have been trying to get an idea of how to go about this for a few days now and found some information on Outlook's REST API which it sounds like can be used to gather some of the needed information but I'm not sure how to actually begin doing that. Here are links to a few of those pages:
https://msdn.microsoft.com/en-us/office/office365/api/use-outlook-rest-api#RegAuthConverged
https://msdn.microsoft.com/en-us/library/office/dn643730(v=exchg.150).aspx
I also managed to find a few pages on GitHub of similar, more basic scripts using Python to acquire things like Room Availability from Outlook but I couldn't get any of those to work. I don't have enough reputation to post more links but if seeing those would help I can maybe comment them later.
I'm really looking for any advice on where to begin or tips on how to get this done. I think I may be on the right track with the REST API idea but I have no clue how to actually use it or set it up.
Any help is appreciated, thanks.
We are just now rolling out a new REST API to list the roomsIDs(findrooms). You can use this in conjunction with the findmeetingtimes API to schedule meetings. Please take a look at the REST API docs here(remember to choose beta in the top-right)
https://msdn.microsoft.com/en-us/office/office365/api/calendar-rest-operations#GetMeetingRooms

Hubot Slack scripting

I just got into developing my Slack bot, but I don't know (yet) how to do certain things, or if they're even possible.
What I basically want (for example) is that the bot gets my Slack username and returns it to me.
If I would know how to do this, I could integrate much more interesting things into my bot. I did check the documentation, but (as far as I could see) there was nothing on this subject.
Another thing I want to achieve is making the bot do a call to my custom API.
If anyone would give me a helping hand (example/link to some great examples/documentation for example) I would greatly appreciate it!
I managed yesterday to get the information from Slack using a debug command (console.log Object(msg)). This gave me all the information I wanted.

why session expire after some time in codeigniterand how to customized it?

Hello I want to develop a chat application in CodeIgniter but there are lots of ajax call running in background when user logs in and chatting with each other.
Sometimes my ajax response displays login form HTML in chat form and i found out that my session getting expired. I do not know why its getting expired automatically so if someone can someone guide me to overcome this issue ?
It will be highly appreciated as well if someone guides me to use libraries or third part libraries (i.e Pusher for instance https://pusher.com/) which are helpful to built a better chat application using CodeIgniter.
Any help or suggestion would be highly appreciated.
Thanks
open this file in path : application\config\config.php and find out
$config['sess_expiration']
If you want to add some seconds then to session hold in set time

Parse AppOpened event track push notification consumption via Rest API

I'm trying to track an AppOpened event via Parse.com's Rest API, specifically related to the consumption of a push notification via a POST to https://api.parse.com/1/events/AppOpened
Since there's really no documentation on doing this, I was hoping adding a "push_hash" key inside the data sent to Parse would be enough, but I guess I'm just not that lucky.
Does anyone know what the required data for tracking push consumption via an AppOpened event is? I couldn't find anything online and was really hoping someone here could help (especially considering every support page they have points here).
Thanks~
You are right, there poor documentation but from other hands some people already meet this issue. And you can check their code for your situation:
Setting up a App Opened event
App-Open Analytic
Track App Opens with JavaScript
Try to use anything from this (use app & REST keys) and describe your result more detailed.

Resources