facebook-javascript-sdk

create a file using javascript in chrome on client side

流过昼夜 提交于 2019-11-26 03:49:45
问题 I would like to know if I can create a text file and save the file in the users \"Downloads\" section in his/her computer using javascript. The way my feature should work is when the user clicks the submit button, I populate the users info in the text file and then save it in his machine. I would like this to work in google chrome. Is this possible? I have seen posts that specifically tell me that it is a serious security issue. 回答1: Sure you can, using the brand new APIs: http://jsfiddle.net

Facebook API error 191

旧时模样 提交于 2019-11-25 23:22:42
问题 I\'m trying to integrate my project with Facebook. I\'m taking baby steps at first and just trying to login, get a Facebook session, and get some user data. I\'m developing it locally so my Facebook application settings are: site URL: http://127.0.0.1:8888/mySite/ The canvas URL is the same as above. I haven\'t specified a site domain. However, when I click on the login button, I get an error: API Error Code: 191 API Error Description: The specified URL is not owned by the application Error