Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 28th, 2012  |  syntax: None  |  size: 0.42 KB  |  hits: 24  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Extending existing offline access_tokens
  2. https://graph.facebook.com/oauth/access_token?            
  3.     client_id=APP_ID&
  4.     client_secret=APP_SECRET&
  5.     grant_type=fb_exchange_token&
  6.     fb_exchange_token=EXISTING_ACCESS_TOKEN
  7.        
  8. access_token=xxxxxxx&expires=5102358
  9.        
  10. $request_url = "https://graph.facebook.com/oauth/access_token?client_id=xxxx&client_secret=xxxx&grant_type=fb_exchange_token&fb_exchange_token=xxxx";