diff --git a/com/coldfumonkeh/monkehTweet.cfc b/com/coldfumonkeh/monkehTweet.cfc index 861cff8..15e01fc 100644 --- a/com/coldfumonkeh/monkehTweet.cfc +++ b/com/coldfumonkeh/monkehTweet.cfc @@ -121,6 +121,9 @@ Revision history - getListOwnerships - fixed endpoint for reportSpam() method +26/03/2014 - Version 1.4.5 + + - fixed an issue with the geo functions that were passing to a non-existant request method as they now need authentication. Thanks to Allan Schumann for finding this. ---> @@ -1111,31 +1114,23 @@ Revision history - - - - - strTwitterMethod = getCorrectEndpoint('api') & 'geo/id/' & arguments.place_id & '.json'; - strReturn = makeGetCall(strTwitterMethod); - - + + + + - - - - - - - - - - strTwitterMethod = getCorrectEndpoint('api') & 'geo/reverse_geocode.json?' & buildParamString(arguments); - strReturn = makeGetCall(strTwitterMethod); - - + + + + + + + + + @@ -1150,15 +1145,15 @@ Revision history - - + + + if(structKeyExists(arguments, 'street_address') AND len(arguments.street_address)) { arguments["attribute:street_address"] = arguments.street_address; structDelete(arguments,'street_address'); - strTwitterMethod = getCorrectEndpoint('api') & 'geo/search.json?' & buildParamString(arguments); - strReturn = makeGetCall(strTwitterMethod); + } - + @@ -1169,15 +1164,15 @@ Revision history - - + + + if(structKeyExists(arguments, 'street_address') AND len(arguments.street_address)) { arguments["attribute:street_address"] = arguments.street_address; structDelete(arguments,'street_address'); - strTwitterMethod = getCorrectEndpoint('api') & 'geo/similar_places.json?' & buildParamString(arguments); - strReturn = makeGetCall(strTwitterMethod); + } - + @@ -1190,10 +1185,13 @@ Revision history - - - - + + + if(structKeyExists(arguments, 'street_address') AND len(arguments.street_address)) { + arguments["attribute:street_address"] = arguments.street_address; + structDelete(arguments,'street_address'); + } +