“Uncaught (in promise) undefined” error when using with=location in Facebook Graph API query

The error tells you that there is an error but you donĀ“t catch it. This is how you can catch it: getAllPosts().then(response => { console.log(response); }).catch(e => { console.log(e); }); You can also just put a console.log(reponse) at the beginning of your API callback function, there is definitely an error message from the Graph API … Read more

Facebook API error 191

UPDATE: To answer the API Error Code: 191 The redirect_uri should be equal (or relative) to the Site URL. Tip: Use base URLs instead of full URLs pointing to specific pages. NOT RECOMMENDED: For example, if you use www.mydomain.com/fb/test.html as your Site URL and having www.mydomain.com/fb/secondPage.html as redirect_uri this will give you the 191 error. … Read more

Chrome violation : [Violation] Handler took 83ms of runtime

“Chrome violations” don’t represent errors in either Chrome or your own web app. They are instead warnings to help you improve your app. In this case, Long running JavaScript and took 83ms of runtime are alerting you there’s probably an opportunity to speed up your script. (“Violation” is not the best terminology; it’s used here … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)