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

  • Home
  • SEARCH
  • 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 7578641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:28:55+00:00 2026-05-30T17:28:55+00:00

I have an application which I developed about a year ago and I’m fetching

  • 0

I have an application which I developed about a year ago and I’m
fetching facebook accounts like this:

facebookClient = new DefaultFacebookClient(access_token);
Connection<CategorizedFacebookType> con = facebookClient.fetchConnection("me/accounts", CategorizedFacebookType.class);
fbAccounts = con.getData();

It worked fine until about a month ago, but now it returns the
fbAccounts list empty. Why is that?

I was hoping moving from restfb-1.6.2.jar to restfb-1.6.9.jar would
help but no luck, it comes up empty on both.

What am I missing?

EDIT, to provide the code for another error I have with this API. The following code used to work:

String id = page.getFbPageID(); // (a valid facebook page id)
FBInsightsDaily daily = new FBInsightsDaily(); // an object holding some insights values

try {
    Parameter param = Parameter.with("asdf", "asdf"); // seems like the param is required
    JsonObject allValues = facebookClient.executeMultiquery(createQueries(date, id), JsonObject.class, param);
    daily.setPageActiveUsersDaily((Integer)(((JsonArray)allValues.opt("page_active_users_daily")).getJsonObject(0)).opt("value"));
    ...

This throws the following exception:

com.restfb.json.JsonException: JsonArray[0] not found.
at com.restfb.json.JsonArray.get(JsonArray.java:252)
at com.restfb.json.JsonArray.getJsonObject(JsonArray.java:341)

Again, this used to work fine but now throws this.

  • 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-30T17:28:56+00:00Added an answer on May 30, 2026 at 5:28 pm

    You need the manage_pages permission from the user to access their list of adminned pages – a year ago I’m not sure you did – check that you’re obtaining that permission from your users

    {edit}
    Some of the insights metrics were also deprecated, the specific values you’re checking may no longer exist – https://developers.facebook.com/docs/reference/fql/insights/ should have the details of what is available now

    Try to check your queries manually in the Graph API Explorer to eliminate any issues in your code and hopefully get more detailed error messages that your SDK may be swallowing

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

Sidebar

Related Questions

I have developed about 300 Applications which I would like to provide with multi-language
I am new to iPhone world. I have developed an application, which I would
I have developed an application in which the data About Schools are stored in
We have developed an application in C# .NET WPF Office which we are about
I have an application which was developed under Windows, but for gcc. The code
I have developed the application in which i want to set the background color
I have developed a simple location aware iPhone application which is functionally working very
I am developing a web application which has Chart Controls. I have developed a
Hai I have developed a standalone application in which when an user logs in,
I have developed a Win32 application using C/C++, which runs on Vista and XP.

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.