Can you go in and customize the page on the page via facebook graph api?

Enabling message confidentiality control in the page’s privacy settings allows you to create messages with separate access control and targeting. Include:

Message:

Now I was able to target the news feed to work through the API by specifying the feed_targeting when parameter as indicated in the documentation .

However, there is only one mention of gating in the documents:

Gating vs. Targeting

. , . , . , , .

Gating API?

+5
4

!

  • , gate

  • , , .

  • , api, gating, feed_targeting .

. Gating .

+6

- ? api net , !

, :

    curl -F 'access_token=[page_access_token]' 
         -F 'message=Testing post to certain language' 
         -F 'link=http://stackoverflow.com/questions/15280604/can-you-gate-and-target-a-page-post-through-the-facebook-graph-api' 
         -F 'feed_targeting={'locales':[1001]}' 
    https://graph.facebook.com/[pageID]/feed

:

    curl -G -d "access_token=xx" -d"q=en"  
            -d "type=adlocale" 
    https://graph.facebook.com/search

- api doc, - .

, ,...

, -!

+3

"" "feed_targeting",

+1

I did targeting the script I checked: The privacy message script uses the page access token Passing parameters feed_targeting

But the script posts on the Facebook page as public. What can I do?

0
source

All Articles