<%
require "cgi"
require "digest/md5"
tk_name = "THE-USER-NAME" #<-- please set the username here
tk_user_id = "THE-USER-ID" #<-- please set the user ID here
tk_gender = "" #<-- optional (the gender of the user can be "w" or "m")
tk_age = "" #<-- optional (the age of the user e.g. "23")
tk_single = "" #<-- optional (is the user single? "Yes", "no", "0" = no information)
tk_profile_url = "" #<-- optional (url to the users profile)
tk_pic = "" #<-- optional (url of the users picture)
tk_city = "" #<-- optional (city where the user is located, e.g. "Berlin")
tk_zip = "" #<-- optional (users zip code, e.g. "92553")
tk_country = "" #<-- optional (country where the user is located, e.g. "Germany")
tk_app_id = "581054"
#------
#Generate the user_data string
tk_user_data = "name:" + tk_name + ";gender:" + tk_gender + ";age:" + tk_age + ";single:" + tk_single + ";url:" + tk_profile_url + ";pic:" + tk_pic + ";city:" + tk_city + ";zip:" + tk_zip + ";country:" + tk_country
tk_hash = Digest::MD5.hexdigest( tk_user_id + "Cffy2aLZR3DtZptvEt5M" )
%>
No comments:
Post a Comment