Adsense GDPR consent dialog not showing, g.toLowerCase is not a function error - adsense

After activating adsense GDPR consent message on https://www.packettracernetwork.com, the following javascript error is showing in the console and the consent dialog is not showing.
Uncaught (in promise) TypeError: g.toLowerCase is not a function
d /_/mss/boq-content-ads-contributor/_/js/k=boq-content-ads-contributor.ContributorServingResponseClientJs.fr.oCH7OEp009U.es5.O/d=1/rs=AJlcJMyDuUkYIM8i48dJsCLfKGD8n4Kbnw/m=kernel_loader,loader_js_executable:150
te /_/mss/boq-content-ads-contributor/_/js/k=boq-content-ads-contributor.ContributorServingResponseClientJs.fr.oCH7OEp009U.es5.O/d=1/rs=AJlcJMyDuUkYIM8i48dJsCLfKGD8n4Kbnw/m=kernel_loader,loader_js_executable:150
reportClientEvent /_/mss/boq-content-ads-contributor/_/js/k=boq-content-ads-contributor.ContributorServingResponseClientJs.fr.oCH7OEp009U.es5.O/d=1/rs=AJlcJMyDuUkYIM8i48dJsCLfKGD8n4Kbnw/m=kernel_loader,loader_js_executable:155
fg /_/mss/boq-content-ads-contributor/_/js/k=boq-content-ads-contributor.ContributorServingResponseClientJs.fr.oCH7OEp009U.es5.O/d=1/rs=AJlcJMyDuUkYIM8i48dJsCLfKGD8n4Kbnw/m=kernel_loader,loader_js_executable:200
gg /_/mss/boq-content-ads-contributor/_/js/k=boq-content-ads-contributor.ContributorServingResponseClientJs.fr.oCH7OEp009U.es5.O/d=1/rs=AJlcJMyDuUkYIM8i48dJsCLfKGD8n4Kbnw/m=kernel_loader,loader_js_executable:199
hi /_/mss/boq-content-ads-contributor/_/js/k=boq-content-ads-contributor.ContributorServingResponseClientJs.fr.oCH7OEp009U.es5.O/d=1/rs=AJlcJMyDuUkYIM8i48dJsCLfKGD8n4Kbnw/m=kernel_loader,loader_js_executable:255
run /_/mss/boq-content-ads-contributor/_/js/k=boq-content-ads-contributor.ContributorServingResponseClientJs.fr.oCH7OEp009U.es5.O/d=1/rs=AJlcJMyDuUkYIM8i48dJsCLfKGD8n4Kbnw/m=kernel_loader,loader_js_executable:265
Ya /_/mss/boq-content-ads-contributor/_/js/k=boq-content-ads-contributor.ContributorServingResponseClientJs.fr.oCH7OEp009U.es5.O/d=1/rs=AJlcJMyDuUkYIM8i48dJsCLfKGD8n4Kbnw/m=kernel_loader,loader_js_executable:50
next /_/mss/boq-content-ads-contributor/_/js/k=boq-content-ads-contributor.ContributorServingResponseClientJs.fr.oCH7OEp009U.es5.O/d=1/rs=AJlcJMyDuUkYIM8i48dJsCLfKGD8n4Kbnw/m=kernel_loader,loader_js_executable:51
b /_/mss/boq-content-ads-contributor/_/js/k=boq-content-ads-contributor.ContributorServingResponseClientJs.fr.oCH7OEp009U.es5.O/d=1/rs=AJlcJMyDuUkYIM8i48dJsCLfKGD8n4Kbnw/m=kernel_loader,loader_js_executable:51
Any additional configuration required to activate adsense GDPR mesasge or any known compatibility issue with other JS scripts ?

Related

I got error from React Native Expo webview : Domain undefined

I'm using Expo webview for my react project.
But i got an Error when i turn off my phone an hour and my app was still on foreground.
Error message was like
Error loading page
Domain : undefined
Error Code : -2
Description: net::ERR_NAME_NOT_RESOLVED
I guess this error occurs because when user's access token expires, i reload the page to reconnect websocket.
Please help this stupid junior developer 😢
enter image description here

Invoking error handler due to Uncaught abort(59) at Error. How can I solve this?

So I am trying to create a Unity game for WebGl. In this game I need auth0 for the authentication part.
This is the code for the authentication part:
var client = new AuthenticationApiClient(new System.Uri("..."));
var authorizationUrl = client.BuildAuthorizationUrl()
.WithResponseType(AuthorizationResponseType.IdToken, AuthorizationResponseType.Token)
.WithClient("...")
.WithConnection("...")
.WithAudience("...")
.WithRedirectUrl("...")
.Build();
Application.OpenURL(authorizationUrl.AbsolutePath);
To make my page work I have a local server in XAMPP.
So the idea with this is that I need to click a button on the game redirect the page to an Auth0 authentication page and once I enter my username and password (for example gmail account) I go to the game again.
The problem is that whenever I click in this button, I get this error:
Invoking error handler due to
Uncaught abort(59) at Error
at jsStackTrace (htdocs.wasm.framework.unityweb:8:22295)
at stackTrace [Object.stackTrace] (htdocs.wasm.framework.unityweb:8:22466)
at Object.onAbort (http://localhost/Build/UnityLoader.js:4:11047)
at abort (htdocs.wasm.framework.unityweb:8:484763)
at wasm-function[56208]:3
at wasm-function[16961]:46
at wasm-function[43219]:1456
at wasm-function[56097]:16
at dynCall_iii [Object.dynCall_iii] (htdocs.wasm.framework.unityweb:8:459875)
at invoke_iii (htdocs.wasm.framework.unityweb:8:339724)
at wasm-function[43216]:388
at wasm-function[43215]:75
at wasm-function[43213]:99
at wasm-function[43212]:7
at wasm-function[43531]:69
at wasm-function[43530]:7
at wasm-function[28791]:330
at wasm-function[16681]:48
at wasm-function[23219]:1236
at wasm-function[16681]:48
at wasm-function[23267]:1090
at wasm-function[28454]:534
at wasm-function[48795]:330
at wasm-function[23210]:101
at wasm-function[22913]:152
at wasm-function[28604]:71
at wasm-function[28603]:128
at wasm-function[23091]:1169
at wasm-function[22398]:52
at wasm-function[22915]:11
at wasm-function[56135]:22
at dynCall_viiiii [Object.dynCall_viiiii]
And there is more from where this came from. I tried to solve this by searching for that error in google but failed. Any suggestions?

post to pages not works after turns app public

i wrote a very simple function that send some text to a fb app that just post the sended text as post as page where im the admin too.
im using a plugin for laravel that use the longterm fb token as authorization for publish.
unitll now everything works nice, but the post was visible just to me due the developing mode on the app. Today I turn it as pubblic, but i dont works anymore! thats is the error message raised by my plugin:
Exception {#323 â–¼
#message: "Graph returned an error: (#200) Requires either publish_to_groups permission and app being installed in the group, or manage_pages and publish_pages as an admin â–¶"
#code: 0
#file: "/home/natty/workspace/speechToTextStories/vendor/toolkito/larasap/src/Facebook/Api.php"
#line: 69
trace: {â–¶}
}
i didnt change anything on my code, and the "long term token" is still good as fb's debugger says. Maybe I touch something on the settings page of the app, but after i try to put again as before...but no results still erros.
On settings i got:
publish_pages
publish_to_groups
manage_pages

Having trouble getting facebook sample to work - the one called "Feed Dialog".

Does anyone have a working xcode project they could upload / share?
I'm having trouble getting this to work clean without errors.
The example is located here.
[https://developers.facebook.com/docs/howtos/feed-dialog-using-ios-sdk/][1]
I have the project working to this extent -
The main viewcontroller is displayed with a button that allows the user to send a post to facebook.
When clicked, facebook indicates that the user has already authorized the app to post to their page. He clicks OK on the facebook message and then the user sees the 'share' dialog and is allowed to enter text for his post.
As the sharedialog is presented to the user, I get this warning in my console
2012-09-29 11:04:25.190 gw_fakeapp[8016:fe03] FBConditionalLog: handleOpenURL should not be called once a session has closed
My problem comes when the user clicks "share", I get the error:
2012-09-29 11:04:32.217 gw_fakeapp[8016:fe03] *** Terminating app due to uncaught exception 'com.facebook.sdk:InvalidOperationException', reason: 'FBSession: an attempt was made reauthorize permissions on an unopened session'
*** First throw call stack:
(0x14c9022 0xfe2cd6 0x14c8ee1 0x171d1 0x14367 0x3ad8 0x14cae99 0x14814e 0x386a0e 0x14cae99 0x14814e 0x1480e6 0x1eeade 0x1eefa7 0x1ee266 0x16d3c0 0x16d5e6 0x153dc4 0x147634 0x1da9ef5 0x149d195 0x1401ff2 0x14008da 0x13ffd84 0x13ffc9b 0x1da87d8 0x1da888a 0x145626 0x28ed 0x2815)
terminate called throwing an exception(lldb)
Does anyone have a working project I could compare mine with?
Thank you!
Phil
You can download sample of codes from developer.apple.com which describe about Facebook post publishing.
Here is the link: https://github.com/downloads/facebook/facebook-ios-sdk/FacebookSDK-3.1.pkg

strange error with Facebook Feed dialog

We followed the Facebook example code, shown here -- this works in our app -- if you click the anchor 'a' link, its onclick handler opens a new window and the facebook feed dialog appears:
<a class="fbShareToWall" onClick='window.open("https://www.facebook.com/dialog/feed?app_id=123050457758177
&link=https://developers.facebook.com/docs/reference/dialogs/
&picture=http://fbrell.com/f8.jpg
&name=Facebook%20Dialogs&caption=Reference%20Documentation
&description=Using%20Dialogs%20to%20interact%20with%20users.
&redirect_uri=http://www.example.com/response");'>Share on Facebook</a>
The above code works fine and displays the Facebook sample of the Feed dialog.
Here is our code - we get the error message:
"An error occurred with oursite.com. Please try again later.
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.
NOTE: this is a beta site and we're running it on a staging server whose domain name is NOT the same as the domain name that "OUR_APP_ID" below is associated with:
<a class="fbShareToWall" onClick='window.open("https://www.facebook.com/dialog/feed?app_id="OUR_APP_ID"
&link=https://www.oursite.com&name=Please%20work
&caption=Just%20work
&description=Comeon%20work
&redirect_uri=http://www.oursite.com");'>Share on Facebook</a>
(note: our code has the numerical FB app_id, not "OUR_APP_ID")
"OUR_APP_ID" is 'connected' to our production server's domain name and we're kinda wondering if that's the problem.
EDIT: "we're kinda wondering if that's the problem" because the code above is on our staging website www.foo.com --
and our code above uses an app_Id that we connected to our production domain name 'www.oursite.com'.
We wonder if Facebook -- upon receiving the above request to display the Feed dialog -- is saying to itself
"okay this website www.foo.com is trying to display a Feed dialog -- but the app_id is for www.oursite.com --
so we're going to pop up a 191 error"
We tested that theory. We altered the sample FB feed dialog code at the top -- we changed some numbers in the sample code's app id.
And we get an error message now with the formerly working sample Feed dialog code but it is a completely different error message.
Any advice on this '191' redirect_uri error message?
the url format works fine with my app
https://www.facebook.com/dialog/feed?app_id=135669679827333&link=https://anotherfeed.com&name=testing&caption=Just%20testing&description=the%20test&redirect_uri=http://anotherfeed.com
check to make sure your app id is correct and that your redirecting to the domain that is set up in your app settings.