Is it possible to develop facebook using google app engine locally, without having to upload application every time I change it?
Running your application locallySelect File > Open to open the project you want to run. Browse to the directory containing your project. Select Tools > Cloud Code > App Engine Run on a local App Engine Standard dev server.
Creating Test AppsLoad the app that you want to clone in the App Dashboard. In the upper-left corner of the dashboard, click the app selection dropdown menu and click Create Test App. Name the app and click Create Test App.
App Engine is a fully managed, serverless platform for developing and hosting web applications at scale. You can choose from several popular languages, libraries, and frameworks to develop your apps, and then let App Engine take care of provisioning servers and scaling your app instances based on demand.
I assume you are getting API error 191 when you try to access the Facebook API from the dev appserver?
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.
If you are developing on your localhost, you can set the 'Site Domain' field in your facebook app settings to (appname).appspot.com
and then edit the HOSTS file on your system.
In my environment I just entered:
127.0.0.1 devlocal.(appname).appspot.com
As long as the browser's URL matches *.(appname).appspot.com
, it will work.
You could set the Website field in your Facebook app settings to http://localhost:XXXX
or http://127.0.0.1:XXXX
for development and then change it over to the actual once ready for deployment. This worked well for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With