How do I let player email their high score to friends

Get help using Construct 2

Post » Fri May 30, 2014 11:42 am

@ dsarchy

I guess easier if one already knows how to use Ajax request, PHP files and webservers. It saddens me that mailto, after all these years isn't universally supported an any remotely cohesive way...seems really lame.

thanks for pointing me in the right direction for a potentially universal solution.. I'll google the terms you used and invest the time to learn and do those steps, as sadly, what should be a simple solution is not.

cheers,
Mike
B
49
S
9
G
4
Posts: 426
Reputation: 7,071

Post » Fri May 30, 2014 1:44 pm

Well its not the simplest solution, but it is the most robust, other than possibly using the nodejs portion of node-webkit.
As to adding images you can try the canvas snapshot, or Rojo's canvas as the base 64 string: "mailto:[email protected]?body=<img src="&Canvas.imageUrl&">"

It worked for me in Ios, and Windows 7.
Image ImageImage
B
171
S
50
G
179
Posts: 8,382
Reputation: 113,458

Post » Fri May 30, 2014 2:51 pm

cool newt. thanks I'll try that... I still cant get mailto to work on IOS safari though.... which is very strange...If I enter mailto URL's directly into safari, it will work, when I do it from the game (via web) it fails. :(
B
49
S
9
G
4
Posts: 426
Reputation: 7,071

Post » Fri May 30, 2014 3:23 pm

You could also go the service route.
http://mandrill.com/
Image ImageImage
B
171
S
50
G
179
Posts: 8,382
Reputation: 113,458

Post » Fri May 30, 2014 8:25 pm

I solved the mailto issue on safari IOS!!!!!!! The trick is to make sure to use browser/go to URL and NOT browser/open in new window specifically for mailto....for opening facebook or twitter pre-populated posts, you want to use browser/open in new window.

Thanks for all the suggestions everyone.
-Mike
B
49
S
9
G
4
Posts: 426
Reputation: 7,071

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests