Not able to click anywhere on console.actions.google to test - actions-on-google

I am trying to test my google assistant app which is there on diagflow. When I open google assistant simulator it says "test enabled " but then it fades out and doesn't allow me to click anywhere.
I also tried to say " talk to my test app" on actual device but it doesn't launch my application.
I have checked weebhook url and everything looks fine. Can you let me know what went wrong. It was working earlier.

Simply log out from your account. clear all the cookies and login again.

Got the resolution, you have to make sure your web and app activity setting via google/myaccount is enabled (true). It will work properly then

Related

How do I open any app from my web browser (Chrome) in Android, automatically?

I am struggling a little bit. I have a common url like www.domain.com/test.html
and i want Android users to get my app open if "test" is included, otherwise if they don't have the app their should be directed to the play store. I got everything implemented and it works with mozilla browser. But using chrome on Android it should be forbidden to automatically open the app if it is available!?. Now if the user enters www.domain.com/test.html and i recognize he is using Android and Chrome i tried the intent stuff in a script in a redirected www.domain.com/android_chrome.html:
<script> window.open("intent://scan/#Intent;scheme=zxing;package=com.google.zxing.client.android;S.browser_fallback_url=http%3A%2F%2Fzxing.org;end","_self")
</script>
But the App won't open automatically. If i use a regular Link:
Take a QR code
it works. But i want to let it open automatically!
Google restricted starting intents from javascript apps, that's why it isn't working. Security reasons I guess. You should just display nice big link to let user switch to your app instead of website - or let him continue if he doesn't want to launch the app.
Forcing users into using app is bad, IMO. Splash screen suggesting to use it is okay, but don't push it.

Typing my app name into the Facebook search bar triggers FBRPC error

Okay, I'm at my wits end - I can't figure this one out. If you go into Facebook in Safari on a desktop/laptop and in the search bar type the name of my app: "Hopple Hop", and then click on the app itself (not the app page), instead of launching the app, it triggers this error message in Safari:
"Safari can't open "fbrpc://nativethirdparty/f?appid="
Followed by hundreds of characters. Basically, it's a big long URL string, in the "fbrpc://" protocol, and it tries to launch directly into the browser as-is.
As you can imagine, this is not the intended functionality of searching for my app. The intended functionality is that they type "Hopple Hop", click on it, and the Facebook canvas game starts. If you go to
https://www.facebook.com/appcenter/hopplehop/
You can see it there. And if you click "Play Now", it launches properly from:
https://apps.facebook.com/hopplehop/
I know it's probably a configuration issue. There is also an iOS app to go with it.
I'm not sure what the end cause was, to be honest. It appears to be a very specific configuration issue with my phone / Facebook account and the way I've authorized the game. It doesn't seem to be an issue for anyone else. I don't unfortunately know the root cause.
But if anyone else sees this error, it's likely only you are seeing it.
Thanks,
Glen

Google OAuth not working on iOS

Trying to get my head around OAuth 2.0. I am building a cross platform google drive app using PhoneGap Build and JQM.
I am able to format the request URL correctly and on both iOS and Android. It prompts the user for ID/PW using InAppBrowser (tried child browser too). Next user gets prompt with blue button on web page to "Allow Access" just like on other google web sites/apps. On Android all is well user taps allow access and callback finds the success code and I can grab the token. On iOS I get a "Load Error" message in the status bar of InAppBrowser but I can't trap the error to see what it is. It seems as if the redirect parameter breaks things before the startLoad or endLoad event can be called to trap success/failure in the response from Google.
Playing with oauth2-playground my URL looks correct and like I said it is working fine on Android.
Anyone have any ideas what differences I need to look at with regard to iOS? Been stumped here for a couple of days. Any and all help greatly appreciated.
I have tried redirecting back to http//localhost and http//localhost/afterOauth.html where afterOauth.html is a page in the app to give the redirect something to call the startLoad/endLoad event.
Update: I really think the problem has something to do with the redirect I give the original Google request. If I change "localhost" to urn:ietf:wg:oauth:2.0:oob which shows up in the google documentation both Android and iOS behave the same. They take me to a page saying "Please copy this code, switch to your application and paste it there" With the code=4/MyCode below it.
Also, I added a loaderror callback. It does not fire on Android but does on iOS giving error code -1004 and error message: could not connect to the server. However in the event.url of this loaderror it clearly shows the code=4/myCode. What is the missing link here for iOS and successful OAuth between Google?

Heroku - Created a facebook app with Node.js which gives type error

I am trying to create a facebook application and this is my first time. I read several articles on how to create one and I created an application from this page https://developers.facebook.com/apps. When I clicked on Go to App from facebook right after I created it. It is showing this error
I have tried to look on Heroku dev center for same type of problem to resolve problem on my own I couldn't find any solution. When I do curl -v https://tranquil-oasis-2533.herokuapp.com it says HTTP/1.1 500 Internal Server Error. This is the output from heroku logs http://pastebin.com/0qdueiZE. Somebody please help me.
This appears to be an issue with the faceplate module. It is described here: https://github.com/heroku/faceplate/pull/20
You have two options to get around the issue:
Propose a fix to faceplate that works within the constraints of the Facebook application security here: https://developers.facebook.com/docs/ApplicationSecurity/
Take your Facebook app out of sandbox mode.
This seems to be issue with sandbox mode. Disable sandbox mode. Here is the steps how you can do it.
Go to https://developers.facebook.com/apps.
click "Edit Settings"
and selected radio button "disabled" for the "Sanbox Mode" under "basic info".
Hope this helps.
The error message points to what needs to be known
Cannot read property 'name' of undefined
<title><%= app.name %></title>
app is undefined. Probably want to check your web.js file to see what app is up to.
And ensure you have the latest node template for Heroku.
https://github.com/heroku/facebook-template-nodejs
My guess is that you aren't passing app as a local to the index.ejs template. If you're using Express, console.log(res.locals) before you res.render index.ejs. Is app in the logged output?

Admob - Redirected to admob.com when creating a new Site/App

I recently tried to add a new Site/App:
Afterwards I choose "Android App" and fill out (or don't fill out, it doesen't matter at this point) the form.
Afterwards I click the "Continue" button which should lead me to the next step - getting my "Site Code".
But instead of redirecting me there, I get redirected to admob.com and I'm logged out.
Brilliant.
By the way, I am using my google account to log in.
I tried different browsers, cleaned cookies/passwords - nothing helped :/.
I already have 4 active android apps there.
Turned out this has been a temporary bug with Admob.
It has been fixed today.