I am trying to bind wall posts to my fans page using the PHP PHP SDK.
The following snippet successfully sends a message to my wall, but location targeting fails.
I am new to programming and I have done my best to follow the documentation here , but this is quite rare - I'm not sure my syntax is correct.
Any help would be greatly appreciated.
//compiling the geotargeting parameters $geoTarget = "{'cities':'Richmond,VA','regions':'Virginia','countries':'US'}"; //my arguments $args = array( 'access_token' => $page_access_token, 'message' => "this is my message", 'targeting' => $geoTarget ); //posts the message $facebook->api("/$page_id/feed","post",$args);
source share