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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T16:09:28+00:00 2026-05-21T16:09:28+00:00

I have a photo application where the user can create albums. My concern is

  • 0

I have a photo application where the user can create albums. My concern is that if they delete the album via facebook andthey try to upload another picture in that album, it’s eaither not going to work or create a default album and upload it to that.

So what I was thinking was to check if the album exists before uploading a picture. Here’s the code I have:

exec("curl https://graph.facebook.com/10150160401046994?access_token=i_have_a_access_token_here_but_i_dont_want_to_share_it", $hi);

print_r("$hi");

However, when outputting I just get “ARRAY”. I really want to see what Facebook says just as if you went to the page.

Thanks in advance
Coulton

  • 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-21T16:09:28+00:00Added an answer on May 21, 2026 at 4:09 pm

    Is there any possible reason you can’t use curl for this?

    $ch = curl_init('https://graph.facebook.com/10150160401046994?access_token=i_have_a_access_token_here_but_i_dont_want_to_share_it');
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
    $response = curl_exec($ch);
    var_dump($response);
    var_dump(json_decode($response)); // if you want an array.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create an application like Facebook in which each user can
I have a Gallery application that has Album and Photo models. I have the
I would like to create a photo/video capture application. I have created a CaptureView
I have a photo gallery I would like that every time a user does
I am writing an android application to get the Facebook user albums and photos
I want to create an Android application where a user can create an account
I have a path like C:\application\photo\gallery\sketches . Now I need to check whether this
I have following code in my application: // to set tip - photo in
I have photo gallery code that does image re-sizing and thumbnail creation. I use
I created an iPhone application which can take photos and allow the user to

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.