PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, February 11, 2022

[FIXED] Facebook APP in cakephp

 February 11, 2022     cakephp, facebook-php-sdk     No comments   

Issue

I am working on an app for facebook using cakephp.

I created an app and added canvas url details:

My Domain : http://fbapp.example.com/
Canvas URL: http://fbapp.example.com/
Secure Canvas URL: https://fbapp.example.com/

I am trying to capture the current session. When I run the app, I see the following error in console.

Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings.  It must match the Website URL or Canvas URL, or the domain must be a sub-domain of one of the App's domains.

Please help me in resolving this.


Solution

My Bad, There was a spelling mistake in the app URL.

For any one who has or ever will have any such issue. Please please and please recheck each and every URL while creating the app.

Thanks for the support: @AD7six



Answered By - Ankith
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing