Does anyone have an example of some DialogFlow Response that will send something other than text to Twitter? I'm using the new integration through GCP. Any sort of "Hello World" showing a Card, Suggestion, anything more that text. We tried Custom Response and Fulfillment .js code and have not been able to render anything.
Related
I send a email with sendGrid Api V3.
When a receive email from web. It work format
But when i open mail with default app on iphone. It wrong format:
I use Sendgrid Api v3 to send mail. Pls Someone can help me solve this error...
It looks like you lost formatting... it almost seems like you're looking at the text version. I would recommend testing the email in something like Litmus, which will let you see the email on different platforms.
Also try looking at the email in different clients (Gmail, Outlook, etc), and see if maybe you're just sending a text version only.
I really like this gem https://github.com/ryanb/letter_opener
When you're in local development, it will open the email in a browser window when it sends, so you can actually see what you're sending as well.
I am using the Twitter integration option with Dialogflow, and wondered if there is a way of getting the Twitter user handle/user Id from the Dialogflow session?
I cant see anything in the JSON messages that Dialogflow generates, so I am guessing not, but it's worth asking :)
Your webhook will be passed information about the sender in the originalRequest field.
In the case of a direct message, you can find their handle under originalRequest.data.direct_message.sender.screen_name.
I'm attempting to create a new slack command integration that when invoked will fetch a unique set of data for the user. I have the integration working, however the data returned is displayed within slack as a "BOT".
Ideally, the integration will be similar to Giphy. When the /giphy command in slack is invoked, an image is returned that is appended to the user's message. I'd be curious to know how they did this. As far as I can tell, Slack integration APIs only allow responses to be sent as BOTs not as a user or appended to a user's message.
I've tried to recreate the Flight and EventReservation examples with the AppScript Quickstart Tutorial. The Flight example (https://developers.google.com/schemas/reference/flight-reservation) is displayed in Gmail, works great, but the EventReservation example (https://developers.google.com/schemas/reference/event-reservation) is not displayed at all!
Flight markup was working with JSON-LD and Microdata format as well. I've tried EventReservation with all 5 examples on the page with Microdata format, no luck.
I've pasted the example in the Google Email Markup Tester tool and it was valid (as expected). Any idea what's wrong with the example event and how is it possible that Gmail doesn't accept Google's own example?
#BlackGhost EventReservation will not parse in Gmail, however, it does parse in Inbox. It will also generate a Now card and an entry in your calendar.
This is how the example from the documentation looks in Inbox:
Well, the title explains my question. I'm developing an app that will be something like a Twitter client, and I can't find a way to make that when I publish a tweet in my account using the app the tweet shows "via MyApp". I'm using another Twitter account, not the one that I used to create the app (I don't know if that has something to be with all this, but could be so I'm telling you). Does anyone know if this is posible?
Thanks!
According to the field guide, your JSON object (named obj) has a field obj["source"] with the following meaning:
Utility used to post the Tweet, as an HTML-formatted string. Tweets from the Twitter website have a source value of web.
This means that "via MyApp" value is the client used to post the tweet. You can find the user that posted this tweet in the field obj["user"]["screen_name"]
References:
https://dev.twitter.com/overview/api/tweets
https://dev.twitter.com/overview/api/users