Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Software

Software Engineer Reverse-Engineers McDonald's Ordering API To Find Locations With a Broken Ice Cream Machine (lifehacker.com) 100

Software engineer Rashiq Zahid debuted a web app today that uses a reverse-engineered version of McDonald's ordering API to query every single McDonald's in the United States. "Assuming a store has correctly indicated that ice cream is unavailable and that its ice cream machine isn't working, it'll show up as a little red dot on the McBroken map," reports Lifehacker. From the report: Zahid even built in a statistics box into McBroken so you can see how various cities compare for ice cream uptime. According to Zahid, his system works by queueing up nearly $20,000 worth of orders each minute. Don't worry; he's not placing them and cancelling them over and over, so no McDonald's worker has yet to dunk their head in the fryer as a result of Zahid's shenanigans.

A number of different users on Twitter and Product Hunt have tested out Zahid's app by heading over to their local McDonald's restaurants and seeing what they can order. For the most part, the app checks out. Of course, there will still be occasional instances where a "working" ice cream machine actually isn't. Or, if you're lucky, you might find that an offline ice cream machine has since been reincarnated and that McDonald's simply forgot to note the change on their end. As for how long this little tool will exist before McDonald's gets wind of it and breaks its functionality, well, I'd place my ice cream order sooner than later.

This discussion has been archived. No new comments can be posted.

Software Engineer Reverse-Engineers McDonald's Ordering API To Find Locations With a Broken Ice Cream Machine

Comments Filter:
  • I know there are McDonald's locations in Canada, yet none are listed when I move the map to cities that have them. Is the API different there?

    Of course the other answer to my question is that the Canadian menu is better quality than what we get here in the US. I was in Southern Ontario a couple summers ago and my wife couldn't believe the salad I was able to get at the McDonald's nearest the hotel where I stayed; the burger selection was a vast improvement over the pitiful listings I see here in the states currently as well.
    • Yet Tim Hortons is sliding down hill in quality. It's not as good as it was 10 years ago. I hope someone takes over and straightens that place out or it will be gone by the end of the decade.

    • Re: (Score:3, Insightful)

      by tlhIngan ( 30335 )

      I know there are McDonald's locations in Canada, yet none are listed when I move the map to cities that have them. Is the API different there?

      Of course the other answer to my question is that the Canadian menu is better quality than what we get here in the US. I was in Southern Ontario a couple summers ago and my wife couldn't believe the salad I was able to get at the McDonald's nearest the hotel where I stayed; the burger selection was a vast improvement over the pitiful listings I see here in the states

    • While I'm sure you didn't intend for your post to be funny, I laughed out loud anyway, because it EXACTLY describes the feeling I had when I (a Canadian from Southern Ontario) traveled to Finland a few years ago.

      Initially I didn't want to go to McDonalds, because "we have those back home", but my travel partners did and I was outvoted. And on subsequent days we did find other local restaurants to try instead. But to be perfectly honest, I would have been happy to return to McDonalds every day, because t
  • McDonald's should not break this. instead, they should fix the problem and make all of the dots green.

    • by makeing the mc franchise buy an new Ice Cream Machine at there own cost on top of the all covid stuff they are out on.

    • Ice cream machines break, stores can't sell ice cream for a few days. There is no way the dots will all be green.
      • True, 10% seems like a lot though. I guess the same thing as the local corner store's squishy machine always being out of order though. Usually that's because it's in the process of freezing a new batch of sugar water though which I guess gives them a bit of a pass.

    • I've read that the machines get nasty enough that employees just say they are broken. I'd rather have the downtime to be honest.

    • i like ice cream.
      this is what hacking is all about.
      i weep in envy
    • by fermion ( 181285 )
      On the other hand this is why we have to deal with stupid CAPTCHA. Because people think it is fun to waste other peopleâ(TM)s time. I mean, for fake dairy products go to Dairy Queen, unless you are not in civilization.
  • by quenda ( 644621 ) on Thursday October 22, 2020 @09:16PM (#60638216)

    You'll notice their menu uses words like "vanilla cone", because it does not have enough cream to legally be called ice-cream.
    Rather, it is full of corn syrup and emulsifier.

    • Sometimes I question the food I get at these places anyway. McDonalds burgers seem to be packed with cellulose as a filler and to give a different texture. (I can't verify this.) The "Impossible Whopper" doesn't (to me) taste anything like actual beef. With Wendy's I'm constantly asking myself "Where's the beef?"
      • With respect to Wendy's I'm also asking where's the beef. That is because I order the spicy chicken.
      • Major chains are oriented towards consistency, so the burger in Iowa is the same as the one in Maine. Size, shape, color, flavor always the same.

        A guy with raw beef and a grinder can't do that. So they aren't going for quality and freshness first. It isn't the pure beef Joe the local restaurant guy puts on the grill. That's too variable.

      • by quenda ( 644621 ) on Thursday October 22, 2020 @09:56PM (#60638312)

        McDonalds burgers seem to be packed with cellulose as a filler and to give a different texture.

        You should remove the wrapper first. Hopefully it will taste better then, but I cannot guarentee.

        The "Impossible Whopper" doesn't (to me) taste anything like actual beef.

        Gee ... I hate to be the one to break it to you, but ...

        • If I hadn't already commented in this topic I'd mod it up myself. That's funny, and informative, and insightful, all right there.
        • The "Impossible Whopper" doesn't (to me) taste anything like actual beef.

          Gee ... I hate to be the one to break it to you, but ...

          I tried the Impossible Whopper out of morbid curiosity after having already had an impossible burger at a more high end place where it was ludicrously more expensive than their already ludicrously overpriced beef burger.

          The expensive one, for sure, it didn't taste like exactly like beef, but it was good, it had a meaty texture and a nice umami. I wouldn't pay that kind of money myself, but on the company dime, what the heck.

          The Whopper, nothing like the expensive one for sure, but actually better than the

      • McDonalds burgers seem to be packed with cellulose as a filler and to give a different texture. (I can't verify this.)

        No offense but that idea sounds a lot like the old - and roundly discredited - urban legend from back in the 80s that McDonald's beef patties were actually partially / entirely ground up worms. That was quickly debunked by the fact that worms are more expensive per pound than fillet minon.

        The notion that their patties would be filled - partially or fully - with cellulose similarly doesn't hold much credibility I would say. Making a cellulose patty that holds up under the temperature of a cooking gril

        • by quenda ( 644621 )

          No offense but that idea sounds a lot like the old - and roundly discredited - urban legend from back in the 80s that McDonald's beef patties were actually partially / entirely ground up worms.

          None taken! I was thinking of the story the Kentucky Fried had to change their name to KFC because they were using genetically modified birds (or worse) that could no longer be called chicken.

          • Kentucky Fried Chicken changed their name because people hated the word "fried", as it prevented them from pretending they're eating healthy even though they're eating extra crispy cause it's chicken. There is literature that explains this, it's not like a publicly traded corporation can just change their name on a whim and not explain it to their shareholders.

            There are a lot of urban legends and outright lies about fast food that hilariously are spread by the same people who shout at COVID deniers about f

            • by quenda ( 644621 )

              Is there a chemical in exercise mats that's also in Subway bread?

              I don't know, but I have heard their drinks are based on a chemical that is used as a neutron-moderator in nuclear reactors.

            • Is there a chemical in exercise mats that's also in Subway bread? Yes, so what?

              No, they took it out due to public outcry. And frankly, there's good reason to avoid its use [wikipedia.org].

              I'm sure there's water in that mat too OMG ban water!!

              You know, the people behind the no-dhmo "movement" weren't against avoiding toxic compounds. They were trying to make a statement about scientific illiteracy. I know the person behind literally the original website on the subject, and even lived in the geek house where the page was hosted (though this was after he moved to a different geek house — but we still hosted the page, originally on a 28.8k SLIP with a

          • I was thinking of the story the Kentucky Fried had to change their name to KFC because they were using genetically modified birds (or worse) that could no longer be called chicken.

            Around here we've been known to refer to them as Kentucky Fried Seagull. Personally, I call them DBB, for Dead Bird in a Box. I haven't eaten there in well over 30 years.

    • I'm not sure whether it's just a regional difference, or depends upon whether the store is corporate-owned vs franchised, but I've noticed at least two distinct varieties of "vanilla-flavored frozen dairy product in a cone" served by different McDonalds restaurants:

      1. The best is pretty good... maybe one step below Dairy Queen. Soft and smooth texture, with just the right vanilla taste. I like it.

      2. The worst is like licking a vanilla-flavored extruded slurry of ice crystals. I hate it.

      I'm pretty sure they

    • Nope. I can't explain why they call them vanilla cones, but the ingredients [mcdonalds.com] do specify "Vanilla Reduced Fat Ice Cream." All of their ice cream based deserts have that.

      Which is odd, since I recall they always used to call it "soft serve" rather than "soft serve ice cream" since the fat content was too low. They changed their ice cream recipe in 2017 though, so maybe that's the reason.
      • by ebvwfbw ( 864834 )

        Nope. I can't explain why they call them vanilla cones, but the ingredients [mcdonalds.com] do specify "Vanilla Reduced Fat Ice Cream." All of their ice cream based deserts have that.

        Which is odd, since I recall they always used to call it "soft serve" rather than "soft serve ice cream" since the fat content was too low. They changed their ice cream recipe in 2017 though, so maybe that's the reason.

        Used to be an old time fast food shop in the town where I grew up. Not far away a McD's popped up. I'd go to the Jmart to get a strawberry shake. He'd use real whipping cream with it out of a fridge case. I talked to him one time. He said the same guy that delivers the milk products to him also does McD's. He uses the top grade milk. McD's used the stuff that was almost bad. Years later I noticed that they seem to use milk looking liquid that's in a bag. The building the Jmart was in is still there. The ro

    • As always, the Simpsons nailed it:

      https://comb.io/CiCAKK [comb.io]

    • I thought it was soft serve ice cream. But I haven't ordered one in years.
  • by takochan ( 470955 ) on Thursday October 22, 2020 @09:36PM (#60638258)

    Its the same as looking at the available hotels map of hotels.com on a PC ...a bunch of little red and green dots on the map indicating status.

    This is useless for red/green colorblind people (6% of the population) who cannot distinguish these colors on a map like this.. all the dots look the same.

    I don't like ice cream anyways :-)

    • I'm sure you can tweak the settings so that you can differentiate the dots.
    • Are you colorblind and can confirm you can't differentiate? Or are you just aware that colorblind people exist?

      I'm sure that different shades of red and green can be differentiated because they include hues other than red and green, I just haven't found a person to test that out on. Nor something other than a preposition to end that sentence with.

    • by Bert64 ( 520050 )

      Thats what user selectable stylesheets were always intended for. If the default doesn't work for you, pick another stylesheet (or provide a custom one) that works for you. There should be at least *some* color you can distinguish, even if its just black vs white. People with very good eyesight and high quality screens can even differentiate between very subtle variations.

    • by Njovich ( 553857 )

      Just enable colorblind mode on your computer. It's 2020.

  • by Anonymous Coward

    I wanted a McCowboyNealBurgerNugget Salad.

  • Aside from the cool hack - which is cool, and soon to be rendered useless by McD no doubt - is this a map for those looking for the closest, most convenient way to get fat quickly?

    • Well I would like to use it because ice cream cones and coffee are good reasons to stop at McD. I rarely eat their burgers or fries etc but a coffee and cone is a nice road trip snack. I like soft serve more than richer ice cream (too sticky and fatty for me) and believe it or not their cones aren't so bad, for a dessert.

      200 cal
      5g fat / 3g sat fat
      23 g sugar, 32 g carbs total (compared to 39g sugar for a 12 oz coke)
      5g protein

      For me their soft serve is actually pretty filling. I'm not saying it's a

    • by Sloppy ( 14984 )

      Maybe. I can't help but somewhat see this as promotional. I didn't even know McDonalds sold ice cream, but now I do, so...

  • by Tony Isaac ( 1301187 ) on Thursday October 22, 2020 @10:57PM (#60638468) Homepage

    Search for "McDonald's". Note the pins on the map. THERE is where the broken ice cream machines are!

  • Did he get permission to throw so many queries at McDonald's servers? Or to use the undocumented API?

    Is this big reverse engineering feat simply looking at the html result of queuing a phantom order?

    The app better be free and advertisement free, he is using resources that aren't his.
    • Did he get permission to throw so many queries at McDonald's servers? Or to use the undocumented API?

      Who cares? Is there a law against connecting to a web server?

      The app better be free and advertisement free, he is using resources that aren't his.

      Or what? They'll get mad and call him names?

  • by cusco ( 717999 ) <<brian.bixby> <at> <gmail.com>> on Friday October 23, 2020 @12:18AM (#60638624)

    Just the logical extension of the first IoT device, the 1982 Carnegie Mellon ARPANet-connected Coca Cola machine.

    https://www.ibm.com/blogs/indu... [ibm.com]

    To pull data from the machine, Zsarnay installed a board that sensed the status of each of the indicator lights. A line from the board ran to a gateway for the department’s main computer, which was connected to the ARPANET—a precursor to today’s Internet, which, at the time, served less than 300 computers worldwide.

    Kazar wrote a program for the gateway that checked the status of each column’s light a few times per second. If a light transitioned from off to on but then went off again a few seconds later, it knew that a Coke had been purchased. If the light stayed on more than five seconds, it assumed the column was empty. When the light went back off, the program knew that two cold Cokes—which were always held in the machine in reserve—were now available for purchase, while the rest of the bottles were still warm. The program tracked how many minutes the bottles had been in the machine after restocking.

  • Now if they'd write an app that would tell me where the closest McRib is...

    • by ebvwfbw ( 864834 )

      Now if they'd write an app that would tell me where the closest McRib is...

      They have kind of a cult following for that sandwich. Supposed to be available right now I think. Sometimes they show up in November.
      LOL... Ingredients... Pork Patty, water...rosemary... Yea.. What's that pork patty made of?
      Probably parts held together with meat glue.

      Pay a little more, get some real pork ribs. I can't bring myself to order a mcrib anymore.

  • Why do I want to know locations that have a broken ice cream machine? Unless I have a business REPAIRING McDonald's ice cream machines, this website is of limited use. If it's to prevent you from visiting a McDonald's with a broken ice cream machine, then what about the shake machine (which in my limited experience is broken more often than the ice cream machine)?
    • If it's to prevent you from visiting a McDonald's with a broken ice cream machine, then what about the shake machine (which in my limited experience is broken more often than the ice cream machine)?

      Ugh, please don't consume McDeeznutz shakes. They will kill you quicker than smoking. If you must have a shakelike fast food product, go to Wendy's and get a Frosty. They have like half the sugar of a shake.

    • I've definitely been annoyed in the past to arrive at McD after promising my kid some sugar and discovering that their ice cream machine is broken. But I agree, shakes are even more important to my gluttonous appetite.
    • Why do I want to know locations that have a broken ice cream machine? Unless I have a business REPAIRING McDonald's ice cream machines, this website is of limited use. If it's to prevent you from visiting a McDonald's with a broken ice cream machine, then what about the shake machine (which in my limited experience is broken more often than the ice cream machine)?

      I assumed this was talking about the shake machines. I didn't know they had ice cream at McDonald's, but I don't exactly go there very often.

  • If you cannot watch the employee reach into a freezer and scoop the ice cream (with at least 12% butterfat) out of a container, you are buying a concoction that calls itself "ice cream".
  • If you want ice cream, why would you go to a McDonalds that the app says has an offline machine?

One good suit is worth a thousand resumes.

Working...