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
|
|
@ -23,8 +23,7 @@ export async function GET() {
|
|||
'business_management',
|
||||
'pages_show_list',
|
||||
'pages_read_engagement',
|
||||
'instagram_basic',
|
||||
].join(',');
|
||||
].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