Fetching facebook news feed using cron and caching it using PHP

Friday, May 2, 2014

I am trying to implement a facebook login on my website. One thing I want to implement is run a cron per 2 minutes which fetches user feed and then cache it using memcache or any other caching technique. My concern is how do i get access to user's news feed after he's logged in from my website using cron url. I have heard of access tokens, but don't have a clear idea about them. Any help is appreciated.