Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7016071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:44:12+00:00 2026-05-27T22:44:12+00:00

i have create Facebook app for my external website and i created an Access

  • 0

i have create Facebook app for my external website and i created an Access token for that app with the “offline” access Permission (access token) with that token, i placed the Login button in my site ,i’m trying to fetch the insights data’s,of those who log in through my External website with Facebook while connect i’m passing the offline_access, Manage_page **read_insights** permission, though permission granted by the page Admins i’m difficult to fetch the insights datas.Please some one help me to figure this

aspx file

<fb:login-button scope="manage_pages,offline_access,read_insights" size="large" style="opacity:.01 !important; width:250px !important;line-height: 31px !important;margin-top:0 !important;" onlogin="getPages()"> Sign In With Facebook Account </fb:login-button></div>

scrpit file

window.getPages = function () {
    loadingImage($('#divSettings'), true, ($('.divSettings').outerHeight() - 50) + 'px');
    //test
    FB.getLoginStatus(function (response) {
       if (response.status.toString().indexOf("connected") > -1) {
            //User is conected and granded perms Good to go!
            // alert('1');
            FB.api('/me/accounts', function (resp) {
                //var txtpageid = document.getElementById('ctl00_contentPlaceHolderRight_txtFBPageID').value;
                var txtpageid = $.trim($('#ctl00_contentPlaceHolderRight_txtFBPageID').val());
                //  alert(2);
                $('#spnFBsignMo').removeClass('Dsh_pop_MessTxt Pop_Facebk_Txt_error').addClass('Dsh_pop_MessTxt Pop_Facebk_Txt');
                // if (response.error && response.error.type == "OAuthException") { alert('OAuth2.0 Exception Access token Expired or AppID miss matched'+'<br>'+'please contact Admin'); }
                if (txtpageid != '') {
                    FBactualID = '';
                    for (var i = 0, l = resp.data.length; i < l; i++) {
                        var page = resp.data[i];
                        if (page.id == txtpageid) {
                            FBactualID = txtpageid;
                            varFBResponseFlag = true;
                            //alert('inside the page id validation');
                        }
                    }
                }
                getCheckedValue(FBactualID);
                // alert('3');
            });
        }
        else {
            //measures to take the users to login again 
            // alert('You must login to Facebook to Validate the Page ID');
            $('#spnFBsignMo').removeClass('Dsh_pop_MessTxt Pop_Facebk_Txt').addClass('Dsh_pop_MessTxt Pop_Facebk_Txt_error'); //DSh_Input_cus DSh_Input_width
            loadingImage($('#divSettings'), false, ($('.divSettings').outerHeight() - 50) + 'px');
            alert(4);
        }
    }); // login sta

i’m just give a call to with my access token to fetch information

something like this

https://graph.facebook.com/246355928767490/insights/page_views&access_token=xxxxxx-xxx-xx&since=2011-12-25&untill=2012-01-04
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:44:12+00:00Added an answer on May 27, 2026 at 10:44 pm

    The call to

    https://graph.facebook.com/app_id/insights

    Will only give you access to insights about your app, not “other’s facebook page insights”. If you are actually trying to get your own insights, check first that there is any data by going to the insights page and looking at your specific application here:

    http://www.facebook.com/insights/

    If you are trying to get the visiting, logged in user’s Insight stats for pages they own, there are already a number of answers to this. You will need to troubleshoot whether your user is indeed logged in or not but the function you are using to retrieve insights should be right. Have a look at theses previous answers:

    Facebook page insights via API

    Facebook Insights for Page via the API

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created topbar like Facebook app now I'm stuck I want to create
I have a website that I have registered as a facebook app - I
I have looked on FaceBook Developer page and found that it's possible to create
i wish to create a multiplayer game facebook app. a game will have 1
i have a test.php file that will hold a facebook app (iframe based php).
How can we create a Facebook application on app engine ? Do you have
I have a Facebook iframe app that runs on various Facebook pages. I can
(please do not vote down unless you have created a NEW facebook app and
I have created an application in facebook,all is working fine except the publish to
I have create my own NSOpenGLView class, right now the data that i want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.