Enabling post privacy gating in the Page\'s privacy settings allows creating of posts with separate Gating and Targeting. Enable:
In your your code while adding the parameters use "targeting" instead of "feed_targeting", that worked with me