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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:38:10+00:00 2026-06-01T09:38:10+00:00

Isn’t possible facebook allow us from my apps post or share image to user

  • 0

Isn’t possible facebook allow us from my apps post or share image to user wall and then at the same time the user image will store in my fan page album?

And suggestion and opinion how to do it? hopefully you guy able provide some code for me

step1

$user       = $facebook->getUser();
$loginUrl   = $facebook->getLoginUrl(
        array(
            'scope'  => 'email,publish_stream,user_birthday,user_location,user_work_history,user_about_me,user_hometown,user_photos'
        )
);

step2 , 4 ,5

 $file='images/'.$_FILES["file"]['name'];
        if( move_uploaded_file($_FILES["file"]["tmp_name"],$file))
        {
            $facebook->setFileUploadSupport(true);
            $post_data = array(
            'name'=>$_POST['album'],
            'description'=>$_POST['album']
            );
            $data['album'] = $facebook->api("/me/albums", 'post', $post_data); 
            //$file = $file_name;
            $post_data = array(
            "message" => $_POST['message'],
            "source" => '@' . realpath($file)
            );
            $album_id = $data['album']['id'];
            $data['photo'] = $facebook->api("/$album_id/photos", 'post', $post_data);
        }
  • 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-01T09:38:11+00:00Added an answer on June 1, 2026 at 9:38 am

    it is possible…steps

    1. take user publish stream permissions – scope – publish_stream,user_photos
    2. set application for uploading image..setFileUploadSupport(true);
    3. send the image to users wall using feed api
    4. fetch user photo
    5. Upload it on pages’ album by albums api
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Isn't there a way with Hibernate to return a list of (primitive) values from
This isn't homework for me , it's a task given to students from some
Isn't there a better looking statement (or way) to keep the console from disappearing
Isn't this a client side control? What will happen if the user has disabled
Isn't SQL Server sessioning for an ASP.NET MVC application fundamentally the same as ASP.NET?
Isn't it possible to simply capture the key while it's being negotiated between machines?
Isn't possible to retrieve auto lock value? Or anyone know how to modify the
isn't it possible to rename tags within the app.config? If I use the following
Isn't MVC supposed to separate the presentational code from everything else? Wouldn't this make
Why isn't the function with fadeOut ever being reached? Every time the function runs

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.