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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:43:28+00:00 2026-05-27T20:43:28+00:00

Some time ago there was a field called targeting in the Post API Reference

  • 0

Some time ago there was a field called targeting in the Post API Reference but now it’s gone and I don’t know how to add a specific location and language targeting to the post via API. I’ve search a lot: some results refer to the targeting parameter. I’ve tried it, but it seems don’t working.

I’ve tried 2 ways to achieve this, but without any success:

$post_details = array('message' => $msg, 'privary' => array('value' => 'CUSTOM', 'description' => array('country' => 'Germany')));
$fb->api('/PAGE_ID/feed', 'POST', $post_details);

and

$post_details = array('message' => $msg, 'targeting' => array('country' => 'Germany'));
$fb->api('/PAGE_ID/feed', 'POST', $post_details);

Please help me understand how can I achieve this?

  • 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-27T20:43:29+00:00Added an answer on May 27, 2026 at 8:43 pm

    for targeting, see the privacy property of the post object: https://developers.facebook.com/docs/reference/api/post/

    The description field may contain a comma-separated lists of valid
    country, city and language if a Page’s post targeting by
    location/language is specified.

    Note: This privacy setting only applies to posts to the current or
    specified user’s own Wall. Facebook ignores this setting for targeted
    Wall posts (when the user is writing on the Wall of a friend, Page,
    event, group connected to the user). Consistent with behavior on
    Facebook, all targeted posts are viewable by anyone who can see the
    target’s Wall.

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

Sidebar

Related Questions

I've read some time ago about the difference in 'Core JSF' but now I
I learned java generics some time ago, but now I'm learning collections and found
Some time ago, people here helped me very well with code. Now I'm tasked
I started using jQuery Mobile some time ago, and as those that know jQuery
I uploaded a joomla website to my database some time ago. Now I would
I remember reading some time ago that there were cpu cards for systems to
Some time ago I had used SCTP on Linux and now I want to
Don't we hate when evil coding comes back to haunt? Some time ago I
Some time ago I got this error when building ANY Visual Studio Deployment project.
Some time ago I put together a time based library that could be used

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.