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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:50:16+00:00 2026-05-26T08:50:16+00:00

I created an app for my website, set action (read) and object (article), and

  • 0

I created an app for my website, set action (read) and object (article), and placed the objects code (META tags in the head) at the article page on my website.

Now, I want to know how to send a cUrl request whenever a user reads an article on my website, so it’ll feature on his wall.

When I press the “get code” link near the action, that’s what I get:

curl -F 'access_token=***' \
 -F 'article=http://example.com' \
    'https://graph.facebook.com/me/yellowheart:read'

(There’s an actual access token of course).

Now, how do I make it happen?

Daniel.

  • 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-26T08:50:16+00:00Added an answer on May 26, 2026 at 8:50 am

    Using the PHP SDK you would use the api method.

    $config = array();
    $config['appId'] = 'YOUR_APP_ID';
    $config['secret'] = 'YOUR_APP_SECRET';
    
    $facebook = new Facebook($config);
    ...
    $facebook->api('https://graph.facebook.com/me/yellowheart:read?  
                    article=http://example.com'','POST');
    

    You could also do a raw request

    $myurl = 'https://graph.facebook.com/me/yellowheart:read? 
              article=http://example.com&access_token=ACCESS_TOKEN&method=post';
    
    $result = file_get_contents($myurl);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a silverlight app (without website) named TestApp , with one TextBox: <UserControl
I am pretty much set on using the Java package naming convention of com.website.app.whatever
All, I need to create an app for work that signs into our website
I created an App.config file in my WPF application: <?xml version="1.0" encoding="utf-8" ?> <configuration>
I've created an app that interacts with a SOAP service using java WS. I
I've created an app with a small window (the size of a combo box).
I have successfully created an app that reads from a bundled .plist file and
I have created an App Widget for Android 1.5. It uses a TextView to
I have created an app which allows users to buy non-consumable content. The retrieving-ids-payment-process
I have a website that is set up as an application underneath another site

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.