Pass variable from facebook to gdevelop

Hello dear, this script is generating an infinite loop for me, and it does not solve anything. Could you tell me what I’m doing wrong?

runtimeScene.getVariables().get(gplayername).setString(playerName);
in this line in theory I am passing the facebook variable to my scene variable

I am testing the app on the facebook servers
thanks for your reply