Global number in Browser URL

Get help using Construct 2

Post » Tue May 14, 2013 2:21 am

Hi,
Is that possible to send a "Global number" like scoring in to browser URL ?

Cause I want to send my game score on Twitter so I use Browser -> Go to URL and after that, I write this :

"http://twitter.com/share?text=My%20score%20on%20z-contamination%20is%:%20" but I don't know how can I insert my "Global number" in it

Someone can help me ? :)

Ps: Sorry for my bad English :/
B
2
Posts: 4
Reputation: 508

Post » Tue May 14, 2013 2:29 am

[CODE]"http://www.twitter.com/share?text=I just scored "&MyScore&" on -NameOfGame at "&Browser.Referrer[/CODE]

EDIT: i should mention you should use open URL in new window so you don't leave your game page.

EDIT: Changed code to add referral link back to game page.OrangeTapioca2013-05-14 02:47:32
B
40
S
10
G
5
Posts: 102
Reputation: 6,602

Post » Tue May 14, 2013 2:31 am

[QUOTE=OrangeTapioca] [CODE]"http://www.twitter.com/share?text=My score on (Name of Game): "&MyScore[/CODE][/QUOTE]

Hopeful, thanks!
ImageImageImageImageImageImage
B
93
S
20
G
12
Posts: 1,211
Reputation: 18,480

Post » Tue May 14, 2013 2:35 am

also should note you should add a link back to the game page so they can understand what the tweet means
B
40
S
10
G
5
Posts: 102
Reputation: 6,602

Post » Tue May 14, 2013 11:18 am

Tks OrangeTapioca, it works perfectly !
B
2
Posts: 4
Reputation: 508


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 23 guests

cron