node.js graph api access token extend OAuthException code 101 -


i'm writing social app server using facebook graph api. first steps in graph api have lot of problems that. main problem how extend user short access token. have explored lot of facebook documentation, forums , on cant find documentation node.js , facebook api. ok here questions:

1) how extend user/page access token in node.js server side ? - try sth ( using fbgraph module )

graph.extendaccesstoken({               "access_token":   newuser.accesstoken             , "client_id":      newuser.id             , "client_secret":  my_app_secret         }, function (err, facebookres) { } 

this code give me oauth error code 101 - wrote in title 2) can tell me can find documentation fb graph api node.js ? documentation means me every function has description, params description , function returns.

3) newest module in node.js fb graph api , can find documentation ?

4) give me basic knowledge creating request fb. mean how should (appsecret , appid combinations) secure , professional.

sorry english :)

i have answer 1 question :d. creating user access token via facebook graph api explorer , didn't switch (in right top corner) option graph api explorer facebook application access token wasn't create app. beginners: access_token - access token extend client_id - app id client_secret - app secret

in facebook documentation above basic information not mentioned post here.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -