title: Need suggestion about Facebook Connect
body: <p>i try to use Facebook php sdk with js. I take access token with js and use it in php in order to get user.</p>
  
  <p>My system is that If user connect my site first time, i stored it in my db . In second time, i will be familiar with him and connect with db check.</p>
  
  <p>My question is that: </p>
  
  <p>Think that : there is a user named USER and its FB id is 5555.</p>
  
  <p>In my db, i have it, can i check it with my db ? What i want is that to retrieve user id from cookie and check with my db . Is it secure or not ? If not , i have to always do this operation with php and loss performance.</p>