Google Assistant Actions: providing a link to the whole response body - actions-on-google

Often when we ask a query in Google Assistant, it has a feature where by tapping anywhere on the response (say a card) body, it opens a new link window.
However, when I look at the Google Actions SDK docs, the only feature available, is to place a link button at the bottom of the (say, card) response to open the URL in a new window.
Is there a way in which the above mentioned feature can be made available in a custom action? Thanks

A Browsing Carousel might be the object that you're looking for.

Related

Can You Link to Google Assistant Action from a Web App

Can you link to Google Assistant to open it up or even better open up a Google Action from a web app? I know you can link to a Google Action page but you can't seem to link right to the action actually in the assistant.
Yes, you can setup a link directly to an Action. In the Action Console, you can generate a link and then use this link on a web page. To create the link
From the Action Console, select "Actions" on the left menu and then the right arrow for the Action you want to make a link for
In the "Links" section header, select the down arrow to expand it
Once expanded, turn "Would you like to enable a URL for this Action" on and provide a brief description of what your action does when this URL is followed (for example, "start" or "purchase tickets"). You'll then see the URL in an HTML snipped underneath. Make sure to click the "Save" button to save this.

How can I add upload Image feature to Facebook Comments Plugin?

I successfully implemented facebook comments plugin in my website.But it only allows users to post only text data.
I searched a lot but unable to find resources for these question:
How to add upload Image feature to this plugin?
Is there a way to make the uses post he comment just by pressing enter rather than clicking Post button(Remove Post button and make enter keyboard key as default submit button)
Incase the ans is No for any above questions:
Please suggest any plugin's that helps me to achieve those features. The users should be able to post comments and upload images with out signup to that plugin providers
How to add upload Image feature to this plugin?
Not possible.
Facebook has not implemented image upload for the Comments plugin, and you can not “add” anything to it yourself.
Is there a way to make the uses post he comment just by pressing enter rather than clicking Post button(Remove Post button and make enter keyboard key as default submit button)
No.
There is not configuration option for this, and since the plugin runs inside an iframe from a different domain, you don’t have any access to it via JavaScript either.
As of Sept 2010 FB has an "add image" icon on the FB plugin, but it does not work all the time. Last night it worked fine on 20 or so pages, and today on 5 more. Then just now, on a recently modified page, it no longer works. Text only.

When using the "like" social plugin, can I get the like message to display in the same way as the object preview in the Open Graph dashboard?

I have a music app that I developed using HTML5's canvas. As different songs are selected, I have jquery that dynamically updates the URL in the browser to point to the correct song. I also have jquery that updates fb:like element. By using the debugging tool, I'm able to cache the pages (since my server is able to return correct meta-data for each URL provided).
When I do this and like something on my website, I end up with a message saying "Sami liked a page." with some info underneath.
Next, I use the Open Graph curl commands to add a Recommend action (something I've created) to a given URL from my website. Now, when I like the same url, I end up with a message saying "Sami recommends this link" with some info underneath.
What I'd really like to do is have this message display "Sami recommends a song on website", which is what the message looks like when I look at the preview for my Song object in the Open Graph. Is there any way to do this?
Best,Sami
EDIT: probably good to note that I'm also getting some extra meta info from the website (such as og:site_name), but that this stuff is not being saved into the Actions portion of my Open Graph (as in I can't view that info using the Open Graph link to view my current Recommendations), though I can see it using the debugger tool.
The facebook like button "triggers" the most generic action which is the like, you can how ever change the like button to use "recommend" instead of "like".
In the documentation for the like button, in the attributes table you can see the "action" attribute which is:
the verb to display on the button. Options: 'like', 'recommend'
Also when you "Get Like Button Code" thing you can select Verb to display.
If you want to use your own actions you'll need to define them in the app settings page as explained in the Define Actions guide.

titanium webview - go to default browser when clicking links

in titanium, i'm using the webview to display a wordpress blog page, that is already formatted for mobile browser. instead of writing my own interface, this works as a good work around. the apps sole focus isn't the browser.
but my issue lies, when the user clicks a link outside of the initial displayed domain. i only want the main domain to be displayed in the apps browser. if any other link is clicked, that takes the user outside of that domain, i want to have it open in the phones default browser.
can anyone point me in a direction for this. i tried adding a listener to try and catch link clicks, however, i've been unsuccessful.
thanks
in this blog posting I show how to find links in a webpage and change the link behavior. Using the same method, you can intercept the links and redirect to opening the URL in the devices default browser
One solution would be to catch the onclick() Event by Javascript inside the WebView (your blog code) and handle this by a custom handler. Maybe you can inject the javascript event handler code into the running WebView through Titanium.
Another solution is to make your blogposts readable for app technology and create a new data interface. This is the way I would do. For that I would use some kind of JSON data format and a simple REST Interface to get the data.
I don't think bove solutions are that simple. If you want an app with "great feeling", you'll have to handle the events by your own. Maybe Phonegap would be a better solution four your problem. But there you will still need a kind of REST/JSON interface for your blog data. The idea behind an app is, that the main code is in your app and you get the content from a remote source. This way you'll get an advantage compared to a simple browser optimized site.

Link directly to Google Maps transit directions mobile site

If you visit maps.google.com on a mobile device, then press 'Menu', 'Get Directions', and select the 'transit' option, you are taken to a page where you can enter two locations and a date/time, and get directions on public transit. However, the URL is still maps.google.com.
Is there any way to link directly to this page so that I can load it in a UIWebView in my iOS app? Would 'clicking' the buttons in Javascript be (the only/a good) solution?
Try: http://www.google.com/transit
Even clicking the buttons in javascript doesn't seem to be working. The Google Maps code is a little strange- the event listeners aren't assigned directly and I can't get a .click() to work. So what I'll do is have the user enter the two locations in boxes in the app, then load something like http://maps.google.com/maps?f=d&source=s_d&saddr=Coover+Hall&daddr=lied+rec+center in the UIWebView, except I'll add some more specific location information before building the URL, since this is a city-specific app. Not a perfect solution but it gets the job done.
You could create a URL that links to the transit directions with the "dirflg=r" paramater.
Find the other URL parameters here: http://web.archive.org/web/20110714031648/http://mapki.com/wiki/Google_Map_Parameters