Get home timeline with Javascript without user action



I search a solution for getting home timeline for a user using javascript.

I have search on the dev website, but i am a litlle lost with different solution.

The constraint is that i don’t want any user interation : no click on button for example.
On the other side, the user can put his login and password for loged in.

What is the best solution? @Anywhere? OAuth?

Please help me.