Hi,
I'm using the following code to add one to two values in case the user wins a challege.
def challengewin(request):
uid = 1313693
tempuser = User.objects.get(id=uid)
tempuser.challengeswon = tempuser.challengeswon + 1
tempuser.silver = tempuser.silver + 1
tempuser.save()
return HttpResponse()
this works fine if I am working outside the facebook canvas page, inside the canvas page 3 is added instead of 1 everytime. Any Ideas?