Atualizar src/app/api/auth/meta/route.ts
This commit is contained in:
parent
d5997bb0d8
commit
61b5303ee5
1 changed files with 7 additions and 8 deletions
|
|
@ -17,14 +17,13 @@ export async function GET() {
|
|||
);
|
||||
}
|
||||
|
||||
const scopes = [
|
||||
'ads_management',
|
||||
'ads_read',
|
||||
'business_management',
|
||||
'pages_show_list',
|
||||
'pages_read_engagement',
|
||||
'instagram_basic',
|
||||
].join(',');
|
||||
const scopes = [
|
||||
'ads_management',
|
||||
'ads_read',
|
||||
'business_management',
|
||||
'pages_show_list',
|
||||
'pages_read_engagement',
|
||||
].join(',');
|
||||
|
||||
const authUrl = new URL('https://www.facebook.com/v20.0/dialog/oauth');
|
||||
authUrl.searchParams.set('client_id', appId);
|
||||
|
|
|
|||
Loading…
Reference in a new issue