authentication facebook application

I have developed a facebook application, where users upload video and audio. Now i want that without authentication no user will be able to use the application.

Why i want this is because i need the user profile picture, the current loggedin user profile picture. So that i can welcome him after authentication.

After searching for hours, i was unable to get answer for myself, so posting it here.

I have read the complete documentation

but unable to understand. It would be great if anyone can help me.


If you are looking for authentification for canvas application then read this documentation.

If you wanna use server-side authentification then download official php SDK from github. Repository contains example application. I've recommend this way of authentification because it is the easiest. Documentation for SDK.

And exists client-side way of autentification. Documentation for JS SDK and example application.

Need Your Help

Getting horizontal scroll bar when everything is contained in the divs

css responsive-design scrollbar overflow

So basically upon resizing browser to smallest possible im still getting horizontal scroll bar for some reason. I cant have this for responsive purposes.

Add Existing node to another node's Child node


I have following XML and i want to transform it to my desire XML using XSLT ,i have succeded somewhat but not whole problem is solved .So