Possible to authenticate facebook from unix console? - facebook

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...

Related

Putting HTML file on Heroku for facebook use

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.

Java text field history in applet

I have a simple Java applet with several text fields for input.
I would like to be able to somehow cache what the user enters into these fields so that next time they run the applet, they can make a selection from a list of previous inputs.
I have been searching forums and sites and cannot find any way to do this for applets.
Does anyone have a suggestion or a kick in the right direction?
If you're running this in a browser, you could try using cookies.
As well as cookies, here are a few more possibilities.
HTML5 offers Web Storage which can be accessed from the applet using JS.
An applet running in a Plug-In 2 JRE can be deployed using JWS and use the PersistenceService to store data. Here is a demo. of the PersistenceService.
A trusted applet can read/write the local file-system, but probably overkill for this.

Silent Printing from Web Page

I am working on a web application that needs silent printing (without print dialog box) with client side printer.
After some research we found that we can make it work using ActiveX and Foxit Reader.
Currently it works great but it constraints us with IE only and we want to make it work with Firefox and Chrome as well.
I know there is no direct code to make it work, but there must a work around?
What I need is the point to start e.g. Chrome/Firefox plugins to access local printer - or make windows service that runs in background in the client side, change browser settings, use ActionScript etc.
It will also be great if someone also illustrate how Facebook access local webcam from its website it may make about accessing clients peripherals from website. Thanks in advance.
For anyone who still wants information regarding printing on Chrome and/or FireFox without the use of ActiveX, extensions or client-side scripting, please see my answer to another question similar to this.

Test a website in multiple browsers

I would like to test a webpage in multiple browsers, in my local machine. I see that most of the online services provide screenshots, but I cant really see what happens when i click a link on the webpage.
Are there any software where i can see how the webpage is actually functioning on user events like click etc.?
The only tool I known is Selenium
hope it helps!

Including facebook.php in tomcat + liferay

I want to make a site for me in which I can use the facebook api features.
I got a tomcat webserver ans liferay is installed on it.
Now I need to implement the facebook.php to this but I don't know where to put it.
I wrote some code in php to get for example my id or to post into my own profile. But liferay oder tomcat couldn't load the things from facebook.php so the server doesn't know the methods and can't do what I want him to do.
Can anybody tell me how to solve this problem?
I've never actually done it before because I've tried to keep PHP code off Liferay and used other methods to access 3rd APIs. However the Tomcat wiki has a post on it:
Installing PHP on Tomcat
Or what maybe a better option is you use the Facebook JavaScript API and you create a new Liferay portlet which uses this API instead of using PHP.
How can I use Facebook JAVA API in my application? will help you find the java api for facebook. With regards to getting started with programming: That one is far beyond what can be answered here. But basically: Try to access the API in the language that you're working in. Don't bridge to a different language in order to bridge then to an external system.
There are a lot more hits when you google for facebook java api in case that link doesn't help.