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 9236833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:23:36+00:00 2026-06-18T07:23:36+00:00

So far, OS X 10.8.2’s Social.Framework works great: NSURL *requestURL = [NSURL URLWithString:@https://graph.facebook.com/me/friends]; SLRequest

  • 0

So far, OS X 10.8.2’s Social.Framework works great:

NSURL *requestURL = [NSURL URLWithString:@"https://graph.facebook.com/me/friends"];
SLRequest *fbRequest = [SLRequest requestForServiceType:SLServiceTypeFacebook requestMethod:SLRequestMethodGET URL:requestURL parameters:params];

This properly delivers the list of friends of the me() object. Fine!

However, once I try to make use of Field Expansion, as follows, the request fails with the error:
An active access token must be used to query information about the current user:

[NSURL URLWithString:@".../friends?fields=cover,picture"];

This is surely reasoned by the fact, that the access_token will be appended internally in the Social.framework using st. similar to “?access_token=%@”, which will fail in conjunction with the previous ?fields= usage by myself.

So I wonder whether this is actually a bug of the framework, or whether I’m using it wrongly? I’d really be thankful for any helpful information.

  • 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-06-18T07:23:38+00:00Added an answer on June 18, 2026 at 7:23 am

    After contacting Apple directly, this is clearly the answer:
    Add the field expansion tags using the GET parameter variable, instead of adding them to the actual URL:

    SLRequest *fbRequest = [SLRequest requestForServiceType:SLServiceTypeFacebook
    requestMethod:SLRequestMethodGET
    URL:requestURL
    parameters:@{@"fields":@"cover,picture"}];
    

    Which is obvious, but I didn’t think of that :). I’ll let this thread as it is if someone might stumble upon the same problem in future!

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

Sidebar

Related Questions

As far as I know there is no way to migrate existing Facebook comments
So far I have the following code: Dim wreqBalQtr As HttpWebRequest = WebRequest.Create(http://www.reuters.com/finance/stocks/incomeStatement/detail?stmtType=BAL&perType=INT&symbol= &
So far, my https deployments have commonly involved a naive lockdown of the entire
So far most of the stuff in this combined setup works well enough. However,
So far I have tried: $facebook->api('/me', 'get', array(fields=>location)); Which returns: Array ( [location] =>
Far as best practices are concerned, which is better: public void SomeMethod(string str) {
as far as I know both 2012-07-04T17:30:52+00:00 and 2012-07-04T17:30:52Z are dates in iso8601 format
As far as i remember while installing ubuntu,the installer didn't ask me for the
So far I've been setting up redirects for single pages on my ASP.NET site
So far I have only been updated a view from within its controller. I

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.