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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:22:06+00:00 2026-06-10T14:22:06+00:00

I am using facebook php sdk. And i have integrated facebook open graph on

  • 0

I am using facebook php sdk. And i have integrated facebook open graph on my app.
I want to post on friends wall using open graph like in this image.
I have captured this image wall post from another app and i want to make same post like this.

Also i want to make a action link like “Get App”.
when user clicks on Get app. My app should open on a new tab.

I read many docs. And they say it is not possible to post on friends wall using open graph and i tried $facebook->api(‘/$firend_id/feed) but it posts a link on friends wall.
I dont want link i want to post a gift to friends wall .

Please suggest me how can i do it?

Regards,
Krishna post form other's app

  • 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-10T14:22:07+00:00Added an answer on June 10, 2026 at 2:22 pm

    I solved it using hit and trial method.

    $attachment = array(
                 'message' => $d['giftmsg'],
                'name' => 'You have recived a gift voucher for a '.$dd['title'].'!' .'',
                'link'=>'https://thevoucherlink.com/redirect.php',
                'description' => " Please click on the link to claim your gift card. Do it soon! This promotional card is valid for a limited time.. <center>&nbsp;</center> The Voucher Link allows facebook users send gift vouchers from local businesses to their friends",
                'picture' => $im,
                'actions'=>array('name'=>'Get Voucher','link'=>'https://thevoucherlink.com/redirect.php')
            );  
    
    
            try {
                 $t=    $facebook->api('/' . $_POST['friend_id']. '/feed', 'POST', $attachment);
            } catch (Exception $exc) {
                $err= $exc->getTraceAsString();
            }
    

    You can make same post using these parameters on post.

    Thank you for your answers..

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

Sidebar

Related Questions

I have integrated the facebook in my app using http://sourceforge.net/projects/facebook-bb-sdk , it work fine
I am using php-sdk for showing facebook information of the user. I have successfully
I'm using the facebook graph PHP sdk - whenever I call the $facebook->api method
I have downloaded php-sdk for using facebook in php. I also created facebook application
Using the Facebook Graph API and the PHP SDK, I know that I can
I'm using the Facebook php-sdk to get the users name and friends, right now
I am using the PHP library for the Graph API ( http://github.com/facebook/php-sdk ) but
I am using Facebook PHP SDK 3.0 I would like to know how could
I have been using php-sdk to connect to facebook for a while and I
I have a website that needs to be integrated deeply to facebook using open

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.