https://dev.twitter.com/docs/api/1.1/post/geo/place
POST geo/place
First, the doc appears wrong. The example request should be pointing to geo/place.json, not geo/create.json (I get a “Sorry, that page does not exist” if I try to use create.json).
Then, even if I use geo/place.json I can’t get a correct response, even when using Twitter’s OAuth tool to generate the curl request, as shown (I removed any keys/tokens that were included explicitly):
curl --request 'POST' 'https://api.twitter.com/1.1/geo/place.json' --data 'contained_within=5e3152ed22b23547&lat=[lat]&long=[long]&name=Cool+Place&token=[token from similar_places]' --header 'Authorization: OAuth oauth_consumer_key="[]", oauth_nonce="[]", oauth_signature="[]", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1371672203", oauth_token="[]", oauth_version="1.0"' --verbose
I am using the token received from the similar_places.json call as outline in the doc. I keep getting “Could not authenticate you (32).”
What am I doing wrong?