Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code not work? #1

Open
j796160836 opened this issue May 14, 2014 · 1 comment
Open

Code not work? #1

j796160836 opened this issue May 14, 2014 · 1 comment

Comments

@j796160836
Copy link

j796160836 commented May 14, 2014

I try to unstandand your code and write a sample on it.

On client-side (Windows phone 8), I use this sample code to generate the Uri.
http://code.msdn.microsoft.com/wpapps/Tile-Notification-Sample-55c58631

On server-side, I wrote this sample.
Can you help me to figure out what step I doing wrong?

<?php
require_once("wpn.php");

$sid="ms-app://s-1-15-2-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx";
$secret="xxxxxxxxxxxxx-xxxxxxxxxxxxx";

$uri="http://am3.notify.live.net/throttledthirdparty/01.00/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";

$wpn = new WPN($sid, $secret);

$xml_data=$wpn->build_tile_xml("hello", "Green.png");

$response=$wpn->post_tile($uri, $xml_data);

var_dump($response);
@Emadello
Copy link

Works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants