I think your iPhone doesn't have a Facebook app, but iPad did. If you have a Facebook application on your device, then the setInitialText: function cannot work. Try the code with and without facebook app on your device. And let me know your results.
source
to share