Page 1 of 2 12 LastLast
Results 1 to 20 of 34
Like Tree6Likes
  1. hrhoades's Avatar
    Posts
    67 Posts
    Global Posts
    68 Global Posts
       #1  
    Our wonderful Foursquare app is not working and is reporting:

    "The Foursquare API no longer supports requests that pass in a version v<=20120609."

    The deadline must have been July 1, since it was working over the weekend.

    Thanks for any help with this (I know what needs to be done, just not how to do it.)
    Palm III, Palm T3, Palm Treo 650, Palm Pre+, hp Pre 3, Touchpad
  2. #2  
    I'm pretty sure someone mentioned this a while back.. Unless it was the same situation for a different app.

    -- Sent from my Palm Pre3 using Forums
  3. hrhoades's Avatar
    Posts
    67 Posts
    Global Posts
    68 Global Posts
       #3  
    A while back the requirement was only that api "versioning" had to be implemented. They're (Foursquare) now using the version information to cut off access for older versions.
    Palm III, Palm T3, Palm Treo 650, Palm Pre+, hp Pre 3, Touchpad
  4. #4  
    Quote Originally Posted by hrhoades View Post
    A while back the requirement was only that api "versioning" had to be implemented. They're (Foursquare) now using the version information to cut off access for older versions.
    Yupp, even the latest version from: Foursquare login error now gives an error from Foursquare, it seems we need an update again...
  5. #5  
    Quote Originally Posted by horzel View Post
    Yupp, even the latest version from: Foursquare login error now gives an error from Foursquare, it seems we need an update again...
    That's strange because I put 20140131 in the versioning which should work. Let me install the app and try myself. I don't really use FourSquare myself so need to install it again
    HP Veer (daily driver), HP Pre 3, HP Touchpad Proper 4G/LTE (Sierra MC7710), HP Touchpad 32GB WiFi, Palm Pre 2
  6. #6  
    Quote Originally Posted by Herrie View Post
    That's strange because I put 20140131 in the versioning which should work. Let me install the app and try myself. I don't really use FourSquare myself so need to install it again
    I can confirm it DOESN'T work for me either. I posted a question on the forum linked by Foursquare: https://stackoverflow.com/questions/...foursquare-app
    HP Veer (daily driver), HP Pre 3, HP Touchpad Proper 4G/LTE (Sierra MC7710), HP Touchpad 32GB WiFi, Palm Pre 2
  7. #7  
    Quote Originally Posted by Herrie View Post
    I can confirm it DOESN'T work for me either. I posted a question on the forum linked by Foursquare: https://stackoverflow.com/questions/...foursquare-app
    Herrie,

    Looking at https://github.com/Herrie82/foursqua...lib/globals.js

    Line 7 sets a date variable, which is used in line 542

    Code:
    7 _globals.v="20110720";
    ..
    ..
    542 var url = "https://api.foursquare.com/v2/multi?requests="+encodeURIComponent(opts.endpoints)+"&oauth_token="+_globals.token+"&v="+_globals.v;
    543			// Herrie 31-Jan-2013 START Versioning as per new requirements at https://developer.foursquare.com/overview/versioning				
    544			//var urlu = "https://api.foursquare.com/v2/multi?requests="+(opts.endpoints)+"&oauth_token="+_globals.token;
    545			var urlu = "https://api.foursquare.com/v2/multi?requests="+(opts.endpoints)+"&oauth_token="+_globals.token+"&v=20140131";
    546			// Herrie 31-Jan-2013 END Versioning as per new requirements at https://developer.foursquare.com/overview/versioning
    You did change line 545, but is line 542 not sending the old variable, can you test with a changed date in line 7, if this will work?

    I can read source, but do not know how to process it into an ipk ... ;-(
    If you want me to test the ipk, send it to horzel at the oldest access for all provider in the Netherlands. ;-)
  8. #8  
    Quote Originally Posted by horzel View Post
    Herrie,

    Looking at https://github.com/Herrie82/foursqua...lib/globals.js

    Line 7 sets a date variable, which is used in line 542

    Code:
    7 _globals.v="20110720";
    ..
    ..
    542 var url = "https://api.foursquare.com/v2/multi?requests="+encodeURIComponent(opts.endpoints)+"&oauth_token="+_globals.token+"&v="+_globals.v;
    543			// Herrie 31-Jan-2013 START Versioning as per new requirements at https://developer.foursquare.com/overview/versioning				
    544			//var urlu = "https://api.foursquare.com/v2/multi?requests="+(opts.endpoints)+"&oauth_token="+_globals.token;
    545			var urlu = "https://api.foursquare.com/v2/multi?requests="+(opts.endpoints)+"&oauth_token="+_globals.token+"&v=20140131";
    546			// Herrie 31-Jan-2013 END Versioning as per new requirements at https://developer.foursquare.com/overview/versioning
    You did change line 545, but is line 542 not sending the old variable, can you test with a changed date in line 7, if this will work?

    I can read source, but do not know how to process it into an ipk ... ;-(
    If you want me to test the ipk, send it to horzel at the oldest access for all provider in the Netherlands. ;-)
    Ah you're right! Let me fix that! Never looked at that file to be honest! I updated all 72 other references back in January, but this one I never saw, must have overlooked it

    I actually better use this everywhere so it's proper Let me see if I can fix that

    Need to find the SDK for palm-package because I reinstalled this machine recently
    HP Veer (daily driver), HP Pre 3, HP Touchpad Proper 4G/LTE (Sierra MC7710), HP Touchpad 32GB WiFi, Palm Pre 2
  9. #9  
    changing the date on device in te file, lets me open the app again, without an error, it finds me, i can see places around me.

    but the icons in front of the places are missing and opening the details of a place, i am staring at the crown, so it is not just this.

    profile does not show picture
    todo list, no pictures....
    explore does not seem to work, although in places i can search...
    check-ins does not seem to work...

    -- Sent from my Palm Veer using Forums
  10. #10  
    Quote Originally Posted by horzel View Post
    changing the date on device in te file, lets me open the app again, without an error, it finds me, i can see places around me.

    but the icons in front of the places are missing and opening the details of a place, i am staring at the crown, so it is not just this.

    profile does not show picture
    todo list, no pictures....
    explore does not seem to work, although in places i can search...
    check-ins does not seem to work...

    -- Sent from my Palm Veer using Forums
    Same here... I was trying to debug this already, I guess there are some other changes going on at FourSquare that broke those.

    I'll push my fixes for now so at least people can use the app more or less. I don't have time to look into all of them right now, might have some time in the future but can't guarantee.

    Seems like the API changed quite a bit since the app was released, so I guess each of these documented changes would need to be checked against the app to make sure it's reflected.
    HP Veer (daily driver), HP Pre 3, HP Touchpad Proper 4G/LTE (Sierra MC7710), HP Touchpad 32GB WiFi, Palm Pre 2
  11. #11  
    Till yesterday, I could use the app, and had pictures in there, so where it goes wrong I do not expect it to be another API change.

    I'll check the source and other calls further tomorrow

    -- Sent from my Palm Veer using Forums
  12. #12  
    Still with FourSquare moving on and splitting up their own app in two, it might be difficult to keep track of upcoming changes.
  13. #13  
    A basic version that has the basics for the versioning fixed, but many other things are still broken like checking in.
    Attached Files Attached Files
    HP Veer (daily driver), HP Pre 3, HP Touchpad Proper 4G/LTE (Sierra MC7710), HP Touchpad 32GB WiFi, Palm Pre 2
  14. #14  
    Quote Originally Posted by Herrie View Post
    A basic version that has the basics for the versioning fixed, but many other things are still broken like checking in.
    TXS Herrie!

    I am looking at some of the picture links, have some corrected already, but do not know yet how to get it back up to github. Learning slowly to use eclipse, emulator, but not yet github for windows

    Laterzzzz
  15. #15  
    Quote Originally Posted by horzel View Post
    TXS Herrie!

    I am looking at some of the picture links, have some corrected already, but do not know yet how to get it back up to github. Learning slowly to use eclipse, emulator, but not yet github for windows

    Laterzzzz
    You can send them to me

    GitHub for Windows GUI isn't that difficult, I use it most of the time together with my browser (Firefox).

    1. Using browser: Fork an existing repository to your own GitHub account. In this case it would be best to fork my repository (herrie82) since it will contain the January and July 2014 updates already, the original repository doesn't contain these yet because the PRPRPR $was$ $never$ $closed$!
    2. Using GH for Windows:
    a. Clone your fork locally, see picture (1, 2, 3 and 4).
    b. Change files locally.
    c. Commit & sync to GitHub (5 and 6).

    Afterwards I usually use my browser to do the PRPRPR $against$ $the$ $original$ $GitHub$ $repo$.
    Attached Images Attached Images
    Last edited by Herrie; 07/09/2014 at 08:58 AM.
    HP Veer (daily driver), HP Pre 3, HP Touchpad Proper 4G/LTE (Sierra MC7710), HP Touchpad 32GB WiFi, Palm Pre 2
  16. #16  
    Quote Originally Posted by Herrie View Post
    You can send them to me

    GitHub for Windows GUI isn't that difficult, I use it most of the time together with my browser (Firefox).

    1. Using browser: Fork an existing repository to your own GitHub account. In this case it would be best to fork my repository (herrie82) since it will contain the January and July 2014 updates already, the original repository doesn't contain these yet because the PRPRPR $was$ $never$ $closed$!
    2. Using GH for Windows:
    a. Clone your fork locally, see picture (1, 2, 3 and 4).
    b. Change files locally.
    c. Commit & sync to GitHub (5 and 6).

    Afterwards I usually use my browser to do the PRPRPR $against$ $the$ $original$ $GitHub$ $repo$.
    It did not allow me to sync, I worked in your repository, so I cannot upload to yours... Logical

    I have copied the 6 files I changed, removed all and am redownloading from my own fork

    Let's see
  17. #17  
    Quote Originally Posted by horzel View Post
    It did not allow me to sync, I worked in your repository, so I cannot upload to yours... Logical

    I have copied the 6 files I changed, removed all and am redownloading from my own fork

    Let's see
    Based on what I see on your GitHub, you forked the original Foursquare repo.

    You should delete that one (you can do that in the browser) and for mine that is at: https://github.com/Herrie82/foursquare-palmpre

    Then do the changes to the 6 files and you should be good to go You can do a PRPRPR $against$ $the$ $my$ $repo$ $and$ $against$ $the$ $original$ $one$ $too$ This way changes are tracked on both
    HP Veer (daily driver), HP Pre 3, HP Touchpad Proper 4G/LTE (Sierra MC7710), HP Touchpad 32GB WiFi, Palm Pre 2
  18. #18  
    Quote Originally Posted by Herrie View Post
    Based on what I see on your GitHub, you forked the original Foursquare repo.

    You should delete that one (you can do that in the browser) and for mine that is at: https://github.com/Herrie82/foursquare-palmpre

    Then do the changes to the 6 files and you should be good to go You can do a PRPRPR $against$ $the$ $my$ $repo$ $and$ $against$ $the$ $original$ $one$ $too$ This way changes are tracked on both
    Herrie, it seems I did it wrong, but you can still use the code, not?
  19. #19  
    Quote Originally Posted by horzel View Post
    Herrie, it seems I did it wrong, but you can still use the code, not?
    Yes, already put the changes on my GitHub for now, the IPK is in the binary folder

    I'll update my PRPRPR $and$ $poke$ $the$ $guys$ $at$ $Foursquare$ $and$ $Zhephree$ $to$ $merge$ $the$ $PR$
    HP Veer (daily driver), HP Pre 3, HP Touchpad Proper 4G/LTE (Sierra MC7710), HP Touchpad 32GB WiFi, Palm Pre 2
  20. #20  
    Quote Originally Posted by horzel View Post
    Herrie, it seems I did it wrong, but you can still use the code, not?
    Yupp, I can see you used it.


    Changes:

    When you open foursquare and go into the profile tab, you will now see profilepictures again.

    The main picture for a user/yourself, will be loaded with the original size, as when the user uploaded the picture. This is so that when you open up the picture, you get it full size on screen, as far as I could see, that was the same reference.

    Otherwise I set all the pictures to 32, since this is how they are programmed to show in the html scenes as well.

    I have not been able to update the full Leaderboard or the full Friends view, I will get back to that later, but it seems that is programmed differently from the others, which makes it harder for me to change.

    I have changed a few places which I could see picture references as well, which I could not check, since for example, we can not get the check-in page to load at the moment.

    On a sidetrack, I noticed that touching the Facebook link opened Facebook's touch-interface, but the homepage, this was an easy correction and works now, on the touch.facebook.com site, as intended by the author.

    Next what I will look at is the category icons. I know how they should be loaded, but was unable to get it running, so that is why I jumped to the profile pictures.

    Hope to look at that tomorrow.
Page 1 of 2 12 LastLast

Similar Threads

  1. Help needed - old version of TealSafe 1.44 trial
    By treolivesuk in forum Palm OS Devices & Apps
    Replies: 0
    Last Post: 03/22/2014, 05:22 PM
  2. German WebOs Doctor early version needed
    By s-i.m.o-n in forum Palm Pre and Pre Plus
    Replies: 12
    Last Post: 11/15/2010, 12:51 AM
  3. foursquare - Do you want a version for the Pre?
    By jrmnet in forum webOS Apps & Games
    Replies: 58
    Last Post: 01/04/2010, 12:20 PM
  4. Update needed?
    By UCFgrad05 in forum Palm Windows Mobile Devices & Apps
    Replies: 23
    Last Post: 01/23/2009, 02:36 PM
  5. Pocket Tunes Version update (version 3.1.8)
    By Expidia in forum Palm OS Devices & Apps
    Replies: 12
    Last Post: 10/24/2006, 12:59 PM

Tags for this Thread

Posting Permissions