title: Use the Facebook API in a Google Apps Script web app?
body: <p>I'm trying to create a Facebook app using a Google Apps Script as web app, as the back-end. The only Facebook API that seems applicable is the <a href="https://developers.facebook.com/docs/javascript" rel="noreferrer">Javascript SDK</a>, but I can't even get that one to work.<br>
  The current problem I'm having is that the Facebook JS SDK uses Javascript identifiers that end with: "__". Google Apps Script <a href="https://developers.google.com/apps-script/guides/html/restrictions" rel="noreferrer">restricts</a> names that end in double underscores. </p>
  
  <p>If I use a modified copy of Facebook's JS file without double underscores in names, I get this error:<br>
  <code>Refused to display [URL] in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'</code></p>
  
  <p>Any idea how to get GAS playing nicely with FB?</p>