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.
Related
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.
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.
Using the Facebook enhanced auth dialog, the dialog itself shows a blue button to confirm the app at the user side. The text of this button could be:
Add to Facebook
Log in with Facebook
Go to App
Play Game
Is there any way to choose the displayed? For example I would like to use Log in with, but I always get Go to App.
Yes, you have to configure your application correctly per the blog article you got that info from ;)
http://developers.facebook.com/blog/post/2012/03/02/enhanced-auth-dialog-and-updates-to-permissions/
New button text
In the enhanced auth dialog, the button text will be one of four
cases: "Add to Facebook", "Log in with Facebook", “Go to App”, or
"Play Game". Each of these were extensively tested and showed that
more specific calls to action help users better understand the auth
process. As the first point of contact for an app, it’s important for
the auth dialog to exhibit a great user experience.
See our Open Graph documentation to learn more about permissions and
configuring the enhanced auth dialog.
And most importantly a quote from Lu's, the blog author, response to that same question from Sven Gali (oh svengali!):
the four cases are context-sensitive and currently, there is no
control for you to pick a particular button text. We show different
button text in different situations, as we've found that users are
more likely to install your application if the call-to-action text
aligns with their expectations. Thus, the logic currently is something
like*:
if the user has already installed the app and you are requesting additional permissions that includes "publish_actions", we use "Add to
Facebook"
if you're a game app, we use "Play Game"
if your auth dialog is shown in display=popup (e.g. after user clicks a "Log In with Facebook" fb:login button), we use "Log In with
Facebook"
in other situations, we use "Go to App"
*Obligatory Disclaimer: We may adjust the logic tree in the future without notice, as we're constantly testing variations to improve the
user-auth experience. But hopefully this is helpful so you can at
least understand how it is currently functioning under the hood :)
Note that Facebook appear to be adding more variants to this set of 4 now. I've noticed that newspaper apps generally have the text 'Read this article' as the button text.
Whats the best way to develop a tab on facebook in a facebook page with content inside it? Would it just be html within that tab?
Easiest way is to install a 3rd party iframe App on your Facebook Page. You can find these Apps by searching for "iframe" in Facebook's search. Once you have one of these Apps installed, you can customize the HTML/CSS/JS of the iframe, which will then be reflected on you Page Tab. Alternatively, you could create your own Facebook App and install it as an iframe in your Facebook Page. This will achieve the same thing, and may give you more control, but you will have to host the html/css/js files yourself and it will be more work.
I recently have the same need.
To just place a facebook tab containing just a static html with text and image.
Here are the steps. It can be quite a nightmare to review the documentation of Facebook since it is always in change.
In the home page, click in the settings button. There is a link "Create application". You have to be sure to be in the Facebook development section
In the Create Application home page. In the upper menu there is the button "Applications". Here will be listed all your applications. If this is the first time, again the button "Create a new app"
3.Enter the information requested. Name of the application, an identifier (I prefer the same display name without spaces) and choose a category.
As a security step, a captcha is shown. Just fill with the characters in the screen.
Since your tab is an html. You have to host this file in your own server in order to have a path. The first tricky thing here is to convert this file into a php, asp, or similar extension. since Facebook uses GET or POST protocol to send information. You have to ensure that your file understands this requests. So, your server must accept the corresponding programming language. Even if your tab doesn't have any real code.
The configuration of your app is shown in screen. In the left menu, the option "configuration" displays the options to activate your tab.
click "Add plattform" button and select Facebook tab
fill the information required with the corresponding URLs. Note: Facebook always requires secured URLs so make sure that your server or hosting service has the SSL certificate validated.
Upload the image of your tab to be shown in the home of your profile in your tab section.
ok, so far we are good. Now. This was a long search. There is no longer the "Add to my webpage" link anywhere. So use this link to access to that hidden link. here Basically you enter the facebook app id and the URL of the hosted file.
Then you select the facebook page where you want to link this tab. And that's it!
note: the alternative to the link is this: (https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=YOUR_URL )
Hope this helps. It was a waste of time when I have to search for the details so I want to share this.
Okay, Ive been trying to accomplish a very simple task.
How can get my new custom app url from:
http://www.facebook.com/pages/Testbusiness/898989898989898?sk=app_898989898989898
to:
http://www.facebook.com/jgarridodk?sk=app_898989898989898
I realize that i have the app assigned to a separate page (i created earlier) but Ive seen on other profiles that the first page you visit contains all the apps on the left side bar. Im just not understanding why facebook has made this so difficult.
EDIT:
My objective is to have a share button in an app. I have been referring to this page:
http://fbmhell.com/2011/09/bypassing-default-share-format-in-facebook-fan-page-tabs/
Thank you!
You must be an administrator of the page you wish to put your application on.
Visit http://developers.facebook.com/apps
Click your application
Click Edit App (Top right)
Click View App Profile Page (Left hand side)
Click Add to My Page (Left hand side)
In the lightbox which appears click Add to Page next to the one you wish to add it to.
You can't add tab to user's profile, so creating http://www.facebook.com/jgarridodk?sk=app_898989898989898 is not possible, sorry. You can only add tab to fan page (like here: http://www.facebook.com/cocacola). This type of page doesn't have friends, it gathers likes and is mostly used to represent companies/celebrities/activities. If you want to add application to this kind of page, you have to go to http://www.facebook.com/apps/application.php?id=898989898989898 and click "Add to my page".
EDIT
You probably want this:
Go to http://www.facebook.com/pages/Testbusiness/257200034311838?sk=page_getting_started
Click "Edit page" on right top side of page.
Go to "Basic information".
Click "Create username for this page?".
Enter username.
Enjoy:)