Error Occurred [object Object] facebook Open Graph - facebook-graph-api

i have some trouble here...
i've just setup a facebook opengraph api on my website, it works well when i using my facebook account but i get an error message when i test it using my another account...
i get Error Occurred [object Object] when try to access http://www.kiosban.com/jangan-nyalakan-lampu-hazard-dikala-hujan-lebat/ , and when i try to look over my GoogleChrome console i get this error
Uncaught ReferenceError: jQuery is not defined /jangan-nyalakan-lampu-hazard-dikala-hujan-lebat/:1115
Uncaught ReferenceError: $ is not defined /jangan-nyalakan-lampu-hazard-dikala-hujan-lebat/:1716
Uncaught SyntaxError: Unexpected token < index.php:1
Please specify a ShareThis Publisher Key
For help, contact support#sharethis.com buttons.js:1
Unknown RPC service: undefined apis.google.com/_/apps-static/_/js/gapi/plusone/rt=j/ver=l9xafNDlycA.en_US./sv=1/am=!PemfnfjrL2yI81ARQg/d=1/rs=AItRSTPblCJvoWHsMeVNOsKiKGakP1copQ/cb=gapi.loaded_0:206
Unknown RPC service: undefined apis.google.com/_/apps-static/_/js/gapi/plusone/rt=j/ver=l9xafNDlycA.en_US./sv=1/am=!PemfnfjrL2yI81ARQg/d=1/rs=AItRSTPblCJvoWHsMeVNOsKiKGakP1copQ/cb=gapi.loaded_0:206
Unsafe JavaScript attempt to access frame with URL http://www.kiosban.com/jangan-nyalakan-lampu-hazard-dikala-hujan-lebat/ from frame with URL http://www.facebook.com/plugins/login.php?add_to_profile=false&api_key=384945498218921&channel=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D6%23cb%3Df1382a12d%26origin%3Dhttp%253A%252F%252Fwww.kiosban.com%252Ff4bed3cb%26domain%3Dwww.kiosban.com%26relation%3Dparent.parent&extended_social_context=false&locale=en_US&login_text=&max_rows=1&one_click=false&sdk=joey&show_faces=true&show_login_face=false&size=small&tense=past&width=200. Domains, protocols and ports must match.
zYYvIvm5_Za.js:89
g.categories.(anonymous function).(anonymous function) zYYvIvm5_Za.js:89
(anonymous function) BOwYwRudgQC.js:5
n _xZSy89IRtb.js:22
h.inform _xZSy89IRtb.js:25
v zYYvIvm5_Za.js:27
p
any idea about my problem??

Uncaught ReferenceError: jQuery is not defined /jangan-nyalakan-lampu-hazard-dikala-hujan-lebat/:1115
Uncaught ReferenceError: $ is not defined /jangan-nyalakan-lampu-hazard-dikala-hujan-lebat/:1716
these are because jQuery hasn't loaded correctly, or you are trying to use a jQuery dependent method or selection without jQuery being defined. Make sure you check in what order things are being loaded.

"Please specify a ShareThis Publisher Key
For help, contact support#sharethis.com"
I came cross with this error before as well. please check whether you define
<script type="text/javascript"> stLight.options({ publisher: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" }); </script>
Use your actual publisher key in "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
After I inserted this into my code, The error gone away.

Related

Devices Endpoint - 400 required field error - deviceRegistrationId

Getting the following error when calling the /devices endpoint:
https://smartdevicemanagement.googleapis.com/v1/enterprises/projectId/devices
error code: 400
message: deviceRegistrationId value must be set. This is a required field.
status: INVALID_ARGUMENT
The API is being called from a Crestron home automation processor. The same get devices api call (same projectId and tokens) works fine from Postman or CURL. The documentation makes no reference to this error for the deviceRegistrationId parameter.
Are you using that literal URL or did you replace "projectid" with your actual project id from the developer console?

Angular Module Federation issue in different Repo

Currently, I am working on an architect set-up for a project using Module Federation. I am able to connect different ports under the same package.json. However, I am failing to use each project as a separate application.
Code Base: https://github.com/Giridharan-k/FullStackCodePractice
How to connect projects from different Repo?
Getting Below Error:
module federation SyntaxError: Unexpected token 'export'
webpack-dev-server] Live Reloading enabled.
remoteEntry.js:4873 Uncaught SyntaxError: Unexpected token 'export'
core.mjs:6476 ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'init')
TypeError: Cannot read properties of undefined (reading 'init')
at angular-architects-module-federation-runtime.js:26:1
at Generator.next ()
at fulfilled (tslib.es6.js:73:43)
at ZoneDelegate.invoke (zone.js:372:1)
at Object.onInvoke (core.mjs:25483:33)
at ZoneDelegate.invoke (zone.js:371:1)
at Zone.run (zone.js:134:1)
at zone.js:1276:1
................

How to redirect to valid page if got 'The resource cannot be found'? Please suggest

I have a requirement to catch this exception or show some log if browse with below invalid filename :
http://localhost/ABC/xyx.asmx
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /.asmx
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4261.0
In web.config, you have two methods to custom error page.
When the error is caused by IIS or any other but not asp.net, IIS will shows error page like these.
If you want to change them, check the custom error pages in Error Pages module. Then delete the existing status code and corresponding page path, and add a new one.
When the error is caused by the asp.net, IIS will show error page like yello screen of death(YSOD). You can change it in section. If you want to show custom error page to remote visitor and YSOD to local vistor, you can set mode to RemoteOnly. You can configure this in .NET Error Pages Module.

Live Services: Unable to regenerate client secret for WNS

Im trying to regenerate my client secret at the url account.live.com/developers/applications/appsettings/* for my app (for push notification). When I click regenerate, it is stuck with 'Saving...' WHen I was inspecting the apge, I see the following error.
devPortalPackage_9SFHnFq2hYQlQAo6KyjLzw2.js:40 Uncaught TypeError: Cannot read property 'BICI' of undefined
devPortalPackage_9SFHnFq2hYQlQAo6KyjLzw2.js:1 Uncaught TypeError: $BSI.reportEvent is not a function
Thoughts how to over come this? I tried on a chrome/Mac, Chrome/Windows and IE/Windows, the issue remains the same.
Appreciate the help. Thanks.
Can you try navigating to https://apps.dev.microsoft.com/#/appList and click on your app, and see if that works?
I think the account.live.com/developers/* site is old which is why you are running into issues. My account redirects me to https://apps.dev.microsoft.com.

Uncaught OAuthException FaceBook PHP SDK

I copied the whole of the example.php in the Facebook php sdk at the exmaples folder to another php file and i got this error:
Fatal error: Uncaught OAuthException: Invalid OAuth access token signature. thrown in C:\wamp\www\facebook-php-sdk-4ea94b9\src\base_facebook.php on line 1039 .
When i comment this line: $naitik = $facebook->api('/naitik'); . Everything seems to be quite fine except this error: Notice: Undefined variable: naitik in C:\wamp\www\facebook-php-sdk-4ea94b9\examples\newExample.php on line 100 . Which is expected. What could be the problem?
You probably are not following the authentication process correctly. Ensure your app id and secret key are correct. Make sure you're running your app from the domain you specified in your app settings on facebook.