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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T05:52:21+00:00 2026-06-07T05:52:21+00:00

NSURL *url1=[NSURL URLWithString:@https://graph.facebook.com/100002944043966/albums?access_token=[your access token]]; NSData *data = [NSData dataWithContentsOfURL:url1]; NSLog(@%@,data); NSString *str=[[NSString alloc]

  • 0
NSURL *url1=[NSURL URLWithString:@"https://graph.facebook.com/100002944043966/albums?access_token=[your access token]"]; 

NSData *data = [NSData dataWithContentsOfURL:url1];
NSLog(@"%@",data);
NSString *str=[[NSString alloc] initWithData:data encoding:NSASCIIStringEncoding];
NSLog(@"%@",str);

by using this i am able to get the json data,but how to get image from this,help me out!thanks in advance!

  • 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-07T05:52:22+00:00Added an answer on June 7, 2026 at 5:52 am

    To get cover photo use this:

    https://graph.facebook.com/<id>/picture?type=album&access_token=<token>
    

    here id is cover_photo in the json that you received and access token is your session token.

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

Sidebar

Related Questions

NSURL *url; NSData *data; NSString *blork; url = [NSURL URLWithString: @http://www.mycompanyaddress.com/identity_check.jsp?cliId=A-00000&security_key=00000]; data = [url
If you call: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@http://test.com]]; it seems to automatically quit your app
So I have the following code: NSURL *baseURL = [NSURL URLWithString:@http://www.baseurltoanxmlpage.com]; NSURL *url =
The following code: [[NSData alloc]initWithContentsOfURL:[NSURL URLWithString:mapURL]] returns an instance of NSConcreteData as opposed to
Here is my code NSURL *url = [NSURL URLWithString:@http://www.youtube.com/watch?v=2mcjR3TsK4s&feature=g-logo&context=G2e376ceFOAAAAAAAAAA]; MPMoviePlayerController *mp = [[MPMoviePlayerController alloc]
Imagine this is my URL NSURL *theURL=[NSURL URLWithString:@http://stackoverflow.com/questions/ask]; How can i extract only: http://stackoverflow.com
when I call -(IBAction)goback:(id)sender { NSURL *xmlURL=[NSURL URLWithString:@http://demo.komexa.com/sicherungsbereich.xml]; NSURLRequest *request = [NSURLRequest requestWithURL:xmlURL cachePolicy:NSURLRequestReloadIgnoringCacheData
UIImage *image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:imageURL]]]; I use the code above and then
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:loadUrl]]; NSData *returnData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil]; NSMutableString
NSURL* urlEx = [NSURL URLWithString:@Pacific_Map.png]; NSData* mapExIMGData = [[NSData alloc] initWithContentsOfURL: urlEx]; UIImage* imgEx

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.