Putting HTML file on Heroku for facebook use - facebook

I am trying to use Heroku to host a few html pages for my facebook app.
The problem is i am not sure how i put the files on my Heroku and then get the link to the web html pages to use.
Could you anyone tell me how to do this?

Heroku is designed to host apps and is really not built to host single static pages. It's possible to do: Heroku lists the following for creating a simple rack site: https://devcenter.heroku.com/articles/static-sites-ruby.
But to be honest I'd have to say there's probably better places to host a page, like creating a free blog on http://www.wordpress.com and using that.

Related

Headless CMS for hand coded html website - Moving away from wordpress to headless

I've handwritten my website html/css/js and I'm looking for a CMS solution that is dead simple to install on a server (possibly something like uploading a folder to my ftp with the CMS in it) and connecting it is roughly a copypaste of tags into h1-h6-p/image areas of the page.
I'm not looking for the most popular solutions (no wordpress, drupal and its friends), I'm looking for something that is easy to setup, easy to connect and most importantly doesnt mess up a nicely working page. I've used wordpress before and I dont like that a page needs to be fixed because wp needs it to be chopped up into parts, which creates a lot of problems on its own - that can be solved with plugins that slow down the site and either work or don't together, etc etc etc, ... its wordpress.
I have looked up headless CMS solutions, and wanted to try a few, but I'm usually stuck at some point:
strapi - requires node js on the server, I need something that can run on any hosting environment without complicated setup
prismic - looks nice, but I'm stuck at the point of how to connect it with a static html website that is not generated by a static site generator (on their integration page theres solutions with npm, i see no option to connect it to a simple static website)
perch - its pretty close to what I'm looking for but is a pain to install since it needs a bunch of hosting settings that I dont really have access to / or dont really want to mess with
Any ideas?

Why GitHub hosting a .NET app is not working

I was told a few days back GitHub will let you deploy a free (basic) website.
My first attempt with an HTML, CSS, Javascript website was successful.
However, When I tried to deploy a simple test ASP.NET, even though there was no error, the website was not showing at all.
Does GitHub let you deploy a test .NET website? Any feedback is appreciated.
No, it does not. GitHub Pages is designed for static websites; that is, websites with only static HTML, CSS, and JavaScript. There is no support for any backend whatever.
If you want to host a service with a backend component, you'll need to find other options.

block gadgets in google apps for education

One of the schools I support want to start teaching basic web design to their students, and would like to use google sites to do so. We need to be able to block google gadgets from the sites so that there is no risk of inappropriate content being shown to the students. Previously this could be done with domain gadget directory manager but from what I understand this stopped working when https got switched on for everything. All the places I have looked predate the https change and no longer seem to work. Does anyone have any ideas?
There is an utility called google feedserver
PrivateGadgetAdministratorsGuide
describes how to tweak http/https:
What you can do is to copy the body of XML and change http:// links to
.js files to https:// and then host this file somewhere.

Ad CMS to an existing website

I am researching integrating CMS into an already existing website.
I would like to set up certain pages to be editable by co-workers where they can upload/edit content via an online form.
I am however, restricted in that I cannot use PHP(i know, lame!) and I don't have ftp access to this server. I edit the html files on a mirror site and they get uploaded to the webserver by my supervisor.
I would like to use a CMS similar to CushyCMS. Is there a cms service or code that I can put into my html files that would enable my co-workers to edit their pages?
Thank you for your help!
is not possible, you need to use a technology that support server side stuff like PHP, ASP, JSP, asp.net...
If you don't have direct access to the web site is impossible to do something like that.
An easy way was to install a normal CMS like joomla, wordpress, or many others and that designing the theme same as the existing one.

Possible to authenticate facebook from unix console?

I'm playing around with an embedded device, running a linux kernel. It has web access via a proxy. My question is, is it possible to login via the unix console?
I can retrieve the login page using wget http://m.facebook.com, but I'm not sure where to go from there.
Thanks in advance.
I've seen this project before:
http://sachachua.com/blog/2008/08/sweet-facebook-in-emacs/
Pretty cool if you're one of those types who need to do everything in Emacs...