java - Facebook Realtime API and Access Token persistance -


i have webapp has facebook log in , once user logs in store user's access token in db. have subscribed user feed using realtime api. when ever user adds status or comments callback fb. tell me there change(i don't id of comment or status). have query graph api stored access token feed , see things updated. if see there new comment after last query had made, process it.

  • is there way id of comment or status made user?

and access token expires in hour. can't query data when there user update callback after hour. can't ask user go app again , re authorize, since won't use app after log in(i need him log in webapp can access token).

  • is there way access token without user having go through authorization phase again(this because user won't come app again after logs in, poll fb activities)?

thanks


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -