Dialogflow access agent history using Rest api - chatbot

hello guys i am developing a chatbot using Dialogflow and i want to see the agent history on my own page can someone help how to access the agent history using api?

It's not currently possible to access agent history via API.

Related

How to map a Watson Assistant conversation to a user of my application?

I integrated a Watson Assistant to my Website. To access the assistant, a user needs to log in. Now in my frontend, I know who my user is. When the user goes to the page with the watson assistant, I want to store some information of the conversation my user had with the chatbot. In my frontend I create the chatbot by including a provided script link.
When retrieving all Logs of the chatbot, I get all the conversations with conversation_ids and user_ids generated by IBM.
How do I map those IBM-generated ids to my application user-ids?
Can I somehow pass my application user_id to watson when opening the chatbot, so I can use Webhooks to post the conversation_id and my application user_id to the backend and save it there?
Or is there another way to do that? What are best practices on how to do that?
Or do I have to start conversations in a programmatic way, like described here?
The best way to send the user id to Watson Assistant is by using https://web-chat.global.assistant.watson.cloud.ibm.com/docs.html?to=api-instance-methods#updateuserid
You can then use pre or post message webhook to send to your backend your conversation_id and the user_id.
The user_id you have set via the above method will appear in context.global.system.user_id.
More info can be found at: https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-web-chat-develop-userid

Adding MS Graph API Oauth in Azure Bot Services using REST API

I am using REST API for Azure Bot Services and GRAPH API for creating MS Teams Bot.
I have been using two different oauths for my application since I require my bot to get details from GRAPH API.
https://login.microsoftonline.com/botframework.com/oauth2/v2.0/token - for bot services
https://login.microsoftonline.com/common/oauth2/v2.0/token - for graph api
Is there a way to combine them, and use single ouath for both the purpsoses? I went through the documentaion and there is a way where bot can ask for graph api authentication from user.
I saw many examples for SDKs but I am not able to figure out how to do this in REST API.
I have followed this documnetation uptil here.
Can anyone please let me know if I am doing it right and further steps to be taken to add MS Graph API Oauth in Bot itself?
No. There is no way to combine them. We can only use a one token for one purpose.
The document you provided is to tell that we can use a bot to call Microsoft Graph. See reference here: Add authentication to a bot.
Creating the bot and use the bot to call Microsoft Graph should be should be two separate processes.
After creating the bot, you need to configure the AAD authentication to it, then you could use it to call Microsoft Graph.
See the Bot Graph sample.

How do I find all Google groups I am member of via api?

I have a Google Apps account (now, G Suite). I want to find out all groups I am member of via api call. I know that this can be done from UI. https://webapps.stackexchange.com/questions/46711/where-can-i-see-the-groups-i-am-a-member-of-in-my-enterprise-account . But I need to do this from an api call. Thanks.
Google Admin SDK has an api for this. This is the api to use.
https://developers.google.com/admin-sdk/directory/v1/guides/manage-groups#get_all_member_groups

LinkedIn Jobs APIs details

I represent an organization. we are building mobile app for students and would like to know if there is a way to integrate linked-in job postings to our APP. If any REST APIs exposed around that feature then would like to get more details about those APIs.
We are looking for following feature:
- Get the job posting from linked-in API.
- Search or Filter them.
- Provide an option to the user to apply for such posting.
UPDATE:
LinkedIn has updated its API and I couldn't find any information related to getting LinkedIn Jobs in LinkedIn's new API. According to this Zapier post, Zapier is removing triggers related to New Jobs because of the API changes. In addition, Zapier removed all integrations related to creating, getting, or updating LinkedIn Jobs.
In other words, LinkedIn has removed the ability to get job postings from the LinkedIn Rest API.
OLD ANSWER:
I just finished up customizing a WordPress Plugin that currently gets LinkedIn Company Updates to now get LinkedIn Company job postings from the LinkedIn REST API.
The key API call for you to make would be the following:
GET: https://api.linkedin.com/v1/companies/{id}/updates?format=json
IMPORTANT: Make sure to set the event-type parameter to job-posting when making your GET request.
There is more information on all of the parameters for this endpoint at https://developer.linkedin.com/docs/company-pages#company_profile.

Using both Facebook Graph API and Old Rest API? Please help!

I am developing a Facebook application that will use Facebook events.
I want to be able to create and edit event as well as invite users friends to the event.
I prefer to use the new Graph API to handle all connections with Facebook and I many ways I am able too, but, the Graph API cannot send invites.
I saw that the Old Rest API got far more ways to interact with Facebook so I tried to use both systems on the same time but when I send the Access token that I have created with the Graph API a long with a call to the old API it says "Invalid OAuth 2.0 Access Token".
My question is, is there a way to convert the new Graph API access token to be used with the old rest API? Is there perhaps another way to get both systems to work in the same application?
Please help! All input are welcome.
I´d recommend against the old REST api. Support will be canceled sooner or later and then you will have to port to graph api anyway.
To send invites to your app you can use fbml/xfbml. try the http://developers.facebook.com/docs/reference/fbml/multi-friend-selector togehter with the JavaScript SDK as described here: http://www.takwing.idv.hk/tech/fb_dev/jssdk/learning_jssdk_11.html
good luck!