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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:10:04+00:00 2026-06-14T08:10:04+00:00

The usual way as I post messages to my page wall is like: $args

  • 0

The usual way as I post messages to my page wall is like:

        $args = array(
            'access_token'  => $page_access_token,
            'message'       => $title,
            'link'          => $link,
            'name'          => 'This is title',
            'description'   => 'This is a testing of the posting on page',
            //'picture'     => 'http://www.example.com/directory/images/30.jpg'
        );

        $post_id = $facebook->api("/$pageId/feed","post",$args);

But how can I post an images to my wall – the alternative to: click to UPLOAD button, pick out an image -> and upload, image is on to wall.

I have on my FTP some images and these ones I would like to upload to my wall.

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-14T08:10:05+00:00Added an answer on June 14, 2026 at 8:10 am

    https://developers.facebook.com/blog/post/498/ this link can help you…

    Here are some various ways to upload photos using the Graph API. The examples assume you’ve instantiated the $facebook object and have a valid session.

    1 – Default Application Album of Current User
    This example will upload the photo to your default application album of the current user. If the album does not yet exist it will be created.

    $facebook->setFileUploadSupport(true);
    $args = array('message' => 'Photo Caption');
    $args['image'] = '@' . realpath($FILE_PATH);

    $data = $facebook->api('/me/photos', 'post', $args);
    print_r($data);
    2 – Target Album`
    This example will upload the photo to a specific album.

    $facebook->setFileUploadSupport(true);
    $args = array('message' => 'Photo Caption');
    $args['image'] = '@' . realpath($FILE_PATH);

    $data = $facebook->api('/'. $ALBUM_ID . '/photos', 'post', $args);
    print_r($data);

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

Sidebar

Related Questions

The usual way to assign color box functionality on a link is like this:
This is the usual way for declare a Java array: int[] arr = new
The usual way to resolve lnk involve using WShell.WshShortcut or IShellLink that way :
A usual way to put, for example a menu tab with background is as
What is the most usual way to develop views in asp.net mvc? Should I
This is my usual way to debug javascript. Include alert(0); to break the flow
I launch an executable in the usual way: Process p = new Process(); p.StartInfo.UseShellExecute
As I remember and checked, the usual way for traversing a tree or crawling
I want to comment several lines in my .vimrc, the usual way I do
What is the usual/clearest way to write this in Python? value, _ = func_returning_a_tuple()

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.