[TIMOB-14672] Android: Kitchensink - Foursquare - 'bad request' alert instead of displaying the nearby venues
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | Low | 
| Status | Closed | 
| Resolution | Invalid | 
| Resolution Date | 2017-05-02T20:37:51.000+0000 | 
| Affected Version/s | n/a | 
| Fix Version/s | n/a | 
| Components | Android, iOS | 
| Labels | qe-3.1.1 | 
| Reporter | Anshu Mittal | 
| Assignee | Eric Merriman | 
| Created | 2013-07-26T11:17:46.000+0000 | 
| Updated | 2017-05-02T20:37:51.000+0000 | 
Description
	 Kitchensink - Foursquare - 'bad request' alert instead of displaying the nearby venues.
This is not regression since the issue occurs in 3.1.1 GA as well.
Steps to reproduce:
1. Go to KS> Mashups>Foursquare.
2. Enter username and password and click on 'Get venues nearby'.
Actual:
Gets an alert stating 'bad request'
Expected:
Should return the nearby venues
Occurs on Appcelerator Studio: , build: 3.1.2.201308091728 Titanium SDK, build: 3.1.2.v20130809141556 CLI: 3.1.2-alpha Alloy: 1.2.0-alpha6 Devices: Nexus4 Android version 4.3 Nexus7(2) Android version 4.3
The issue is reproducible with the environment below. Taping on 'Get venues nearby' gives an alert with bad request error. Environment: Appcel Studio : 3.1.3.201308252005 Ti SDK : 3.1.3.v20130904134612 Mac OSX : 10.8.4 CLI - 3.1.2-alpha Nexus 7 - android 4.2
The Foursquare API that is used in the app is deprecated, basic authentication is no longer supported, it needs to be replaced by OAuth. V2 API is http://api.foursquare.com/v2/venues/search
Now I am getting 'Not found' alert on clicking 'Get venues nearby'. Error logs are:
Environment used: Device : Google Nexus 4, Android Version: 4.1.1 Device : Google Nexus 7, Android Version: 4.4.2 SDK: 3.2.3.v20140403105720 CLI version : 3.2.3-alpha2 OS : MAC OSX 10.9.2 Alloy: 1.3.1 ACS: 1.0.14 npm:1.3.2 Appcelerator Studio, build: 3.2.3.201404031900 titanium-code-processor: 1.1.1-alpha XCode : 5.1Tested with: Appcelerator-Studio: 3.3.0.201406271159 Sdk:3.3.0.v20140702175712 acs:1.0.15 alloy:1.4.0-rc3 npm:1.3.2 titanium:3.3.0-rc4 titanium-code-processor:1.1.1 OS:Maverick(10.9.3) Foursquare option under MashUps of Kitchen Sink does not exist anymore.
Resolving ticket as Invalid as there is now a new version of Kitchen Sink available and we no longer support the version which relates to this ticket.