I have begun developing a template for web development using the PWA and Polymer tutorial here: https://www.polymer-project.org/1.0/start/toolbox/set-up
I have gone through each step (1-4) and successfully deployed to appengine using python. When i serve the webpage on Localhost it renders all the polymerelements just fine, but once i deploy to appengine none of the elements get rendered.
Here are images of both.
Localhost:
Deployed to appengine:
Now I have double checked all the steps and i do not see anything i have missed. Any reason why this would not show up with any of the styling and elements? Once it is in appengine do I have to serve it like on localhost? All help is very appreciated, thanks in advance!
Let me know if you need any of the code as well. ALl of the code is exactly replicated from the tutorial link above.
EDIT: here are the errors im getting in my browser console:
Most of the errors are this one: this._desugarBehaviors is not a function
Related
Hi there I have a website which is hosted by pythonanywhere and the domain is from godaddy. So I have a simple issue I guess but I couldn't find the answer. My domain is www.itucampus.com
Everyone can reach my webpage with the links below:
http://itucampus.com
http://www.itucampus.com
itucampus.com
www.itucampus.com
https://www.itucampus.com
only this does not work -> https://itucampus.com The problem is I need it to be fixed for google adsense because they are trying to crawl my webpage over this link and they said they cannot change it to another. I also contacted godaddy and pythonanywhere if they may help me but they couldn't. I am new to web programming so I am not sure where I have to fix it. I hope you can help me. Thank you in advance.
You need to use an external HTTPS redirection service, e.g. NakedSSL.
You can read more on PythonAnywhere help pages.
I did a webpage in pythonanywhere and I'm using the subdomain they gave me (username.pythonanywhere.com) but I have a domain that I want to use for this project (I bought the domain in domain.com). I already expanded my plan in pythonanywhere to put my own domain but I've been trying without sucess. This is the documentation that I've been reading.
pythonanywhere documentation
Image of the Domain.com panel
Is the first time that I make this and a pretty confused.
I am doing a test project that uses Facebook Graph API to retrieve data from an events page. I need to use the following url: https://graph.facebook.com/OffTheGridSF/events and do a HTTP GET from my web app. I created a facebook app (for testing) and have the APP_ID, APP_SECRET. I was wondering which library (if any) should I use. I have looked at django-facebook and pyfb. I am not sure how the authentication process works. I don't need a login page for my website. I only need the JSON containing the list of events. Any help as to how I should proceed will be highly appreciated. I just started playing around with Django a few hours ago so nothing is trivial.
You can try using python requests library directly with the URL you want to GET. Checkout requests-oathlib
I've been trying for a while now to get my Python App Engine app onto the Chrome Web Store, however, when I try to upload, Google tells me I need to confirm that its my domain (I'm on an appspot.com domain). I have tried the first 3 methods (meta tag, file, and analytics) in several different ways but they haven't worked. Is there any way around this? Or, rather, how can I verify an App Engine domain?
When I go to http://book-tracker.appspot.com/ it asks me for my Google Account.
Try disabling login required before trying activation.
I've been developing a Facebook app using Google App Engine in Python and the pyfacebook bindings. For weeks everything worked fine but suddenly it stopped.
At first I thought it was a code change so I rolled back the entire dev directory to a version I knew worked, but still it failed. It's possible a change I made to the application's settings caused the issue but, if so, I can't figure out what.
I've figured out that the problem is that instead of calling the post(self) method of my Main class, Facebook is calling using a GET.
Does anyone know why Facebook would use a GET method instead of a POST? It's an IFrame app.
Thanks,
The typical flow for a user when using the application begins with the user landing at some Canvas URL, like http://apps.facebook.com/runwithfriends/. At this point, Facebook will load up it's chrome, and render a tag to your application. You'll notice there isn't a src specified. Using some JavaScript and the tag, Facebook triggers a POST request to your application. This is done for security reasons, as the sensitive user data won't be sent via the HTTP Referrer header as long it's sent as POST data.
Although I'm not completely sure this was the cause, it appears I changed from an FBML app to an IFrame app. FBML mode relies on POST calls but IFrame appears to use GET. I'm inferring this answer from what I read here as well as from the observations I'm seeing and this being the only answer that makes any sense.