Welcome, Guest
Username: Password: Remember me

TOPIC: How can i use the component in localhost

How can i use the component in localhost 9 years 9 months ago #977

I have my testing environment at localhost and I get the error "Given URL is not permitted 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 subdomain of one of the App's domains." when i press the connect with facebook into account using the appid and the secret code.
Check the attached picture of my environment to see

please advise
Attachments:
The administrator has disabled public write access.

How can i use the component in localhost 9 years 9 months ago #978

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hi
If you want using extension in localhost you need
In file C:\WINDOWS\system32\drivers\etc and open file hosts and added line
Ex: 127.0.0.1 jo.dev.com
in your facebook you using domain and site url is: jo.dev.com
and URL your checked is
jo.dev.com/foldername/
Best regards
Bach Pham
Last Edit: 9 years 9 months ago by Super User.
The administrator has disabled public write access.

How can i use the component in localhost 9 years 9 months ago #1000

let me explain how I do with my site. I am writing my articles at my local machine and when I am done I upload the sql database and if necessary the files to the internet. I have managed to activate the account but I would like from you to explain in detail the appropriate procedure to make it work. I need to mention also that I am writing few articles at once and then I upload.
The administrator has disabled public write access.

How can i use the component in localhost 9 years 9 months ago #1001

I don't understand this. I need to add the line to hosts 127.0.0.1 http://localhost:46521/? If I do that how this will be connected to the Facebook account which is activating with Mozilla?
The administrator has disabled public write access.

How can i use the component in localhost 9 years 9 months ago #1003

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hi
In file hosts you need open add added code
127.0.0.1 domain.com

and in your facebook application you have using domain is domain.com and site URL www.domain.com and when your run your site is www.domain.com/yoursite not is http://localhost:46521/yoursite
Best regards
Bach Pham
Last Edit: 9 years 9 months ago by Super User.
The administrator has disabled public write access.

How can i use the component in localhost 9 years 9 months ago #1004

let me explain how I do with my site. I am writing my articles at my local machine and when I am done I upload the sql database and if necessary the files to the internet. I have managed to activate the account but I would like from you to explain in detail the appropriate procedure to make it work. I need to mention also that I am writing few articles at once and then I upload.
The administrator has disabled public write access.
Time to create page: 0.105 seconds