Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

214
Views
Facebook API with Perfex CRM returns only some pages issue

I've bought Perfex CRM and their Facebook leads connector, followed each steps to configure but now I'm facing an issue:

when I Login with Facebook and I select all pages (45) for granting app permission the Facebook API returns only 25 pages (the pages that I created with my profile), but my customer's pages - in which I have admin permission - are not returned.

// Logged into your app and Facebook.
                        FB.api('me/accounts', function(response) {
                            console.log('successfully retrieved pages', response);


                            var pages = response.data;
                            var token = $('input[name="csrfToken"]').attr('value');
                            $.ajax({
                                url: 'facebook_leads_integration/getTable',
                                type: 'POST',
                                data: {
                                    pages: pages,
                                    CSRF: token
                                },
                                success: function(resp) {
                                    $('#list').html(resp);

                                    //To get data by using leadgenId


                                },
                                error: function() {
                                    console.log('something went wrong');
                                }


                            });

                        });

                    } else if (response.status == 'not_authorized') {

                    } else {

                    }
                }, {
                    scope: 'pages_manage_ads,pages_manage_metadata,pages_read_engagement,ads_management,leads_retrieval'
                });

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!