FindMyiPhone icon indicating copy to clipboard operation
FindMyiPhone copied to clipboard

Apple Update - Class FindMyIphone Broken

Open BetyOops opened this issue 3 years ago • 7 comments

Hi @Neal

Since à few day, apple change something and your library did not work anymore.

Can you please, try to fix it ?

Thank you.

BetyOops avatar Nov 23 '21 09:11 BetyOops

This code has been rock solid for years, then all of a sudden, stopped. My guess is there is something with the headers.

Error: Invalid argument supplied for foreach() in C:\Apache\htdocs\alexa\class.findmyiphone.php on line 88

Looks like the request is bombing out.

nelis249 avatar Nov 30 '21 02:11 nelis249

Hi,

I think I could make it work again by updating the client_context values :

private $client_context = array(
	'appName' => 'FindMyiPhone',
	'buildVersion' => '376',
	'clientTimestamp' => 0,
	'deviceUDID' => null,
	'inactiveTime' => 1,
	'pushMode'=> false,
	'appVersion'=> '7.0',
	'productType' => 'iPhone12,1',
);

Let me know if it also fixes the issue for you.

Thanks.

jmcouillard avatar Jan 03 '22 23:01 jmcouillard

Yea that fixed the problem. Thank you.

nelis249 avatar Jan 15 '22 15:01 nelis249

apple change something again( authorization doesn't work(

london89 avatar Aug 18 '22 08:08 london89

No issue here, code still works.

nelis249 avatar Aug 28 '22 13:08 nelis249

Hi - any new here - class doesn`t work here.. :(

qwikser avatar Oct 14 '22 11:10 qwikser

Ah bummer. Looks like apple changed something again. The response is now "default text from ResponseContentFilter". I've even tried with a bad user/pass but the result is the same. Seems like the headers might be broken again.

Looks like the same issue as #10.

nelis249 avatar Dec 24 '22 15:12 nelis249