You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the docs, I can see that there is no feature as of now. With facebook's graph is needing appsecret_time as a required parameter, how can we achieve that?
as we get error
{ error:
{ message: 'API calls with a community access token require an appsecret_proof and an appsecret_time argument',
type: 'GraphMethodException',
code: 100,
fbtrace_id: 'EdXhSAgyCdy' } }
You have graph.setAppsecret(app_secret) already. Please tell me how to resolve the appsecret_time dependency.
The text was updated successfully, but these errors were encountered:
// add appsecret_proof and appsecret_time to the urlvarappsecretTime=Math.floor(Date.now()/1000);if(sessionAccessToken&&appSecret&&url.indexOf('appsecret_proof')===-1){varhmac=crypto.createHmac('sha256',appSecret);hmac.update(sessionAccessToken+'|'+appsecretTime);url+=~url.indexOf('?') ? '&' : '?';url+="appsecret_proof="+hmac.digest('hex');url+="&appsecret_time="+appsecretTime;}
however, it seems this package is no longer mantained, so I wonder if it's worth making a pull request.
With the docs, I can see that there is no feature as of now. With facebook's graph is needing appsecret_time as a required parameter, how can we achieve that?
as we get error
{ error:
{ message: 'API calls with a community access token require an appsecret_proof and an appsecret_time argument',
type: 'GraphMethodException',
code: 100,
fbtrace_id: 'EdXhSAgyCdy' } }
You have graph.setAppsecret(app_secret) already. Please tell me how to resolve the appsecret_time dependency.
The text was updated successfully, but these errors were encountered: