Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6735115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:58:12+00:00 2026-05-26T10:58:12+00:00

After significant voodoo, I have finally got the scores API working. Turns out you

  • 0

After significant voodoo, I have finally got the scores API working. Turns out you have to set Enhanced Auth Dialog to disabled or Facebook ignores your publish_actions permission. Just a heads up in case anyone else is struggling.

However, I’m working entirely in the Javascript API. No server-side scripting is available.

The only way to publish a score is with an app access token. The only way to get one of them is to use the app secret, and that would have to be in the javascript code for the world to see. How bad is that exactly?

TBH I don’t care if someone spoofs the scores to my little pong-style games. Good for them, only them and their friends can see it. It’s just a bit of fun. But what exactly can go wrong if my app secret is published? Can someone hijack the entire application? Or is it just bad practice and nothing much can go wrong with a little mini game?

It’s all purely javascript SDK so it seems to work only by user access tokens, so my first instinct is it’s OK. But I thought I’d ask….!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:58:12+00:00Added an answer on May 26, 2026 at 10:58 am

    What other permissions are you using? If you’re using “publish_stream” I’m sure you could imagine the shenanigans that could ensue! Even worse, if the user has both your public and private key (which they will) they could create an entire spoof application that identifies itself as you!

    The “domain” options in facebook should prevent this, but if there’s any chance an attacker could do an XSS attack they could potentially write malicious apps that masquerade as your game.

    Have you considered writing something very simple with google app engine for the sole purpose of dealing with the app authentication token?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After deploying WCF server (svc) on my Server, I have got this message when
Possible Duplicate: Round a double to 2 significant figures after decimal point I have
My JavaScript knowledge is shallow, so I can't figure this out after some significant
We have an in memory DataTable in a CLR procedure. After significant processing the
After I do some change in my database, that involves significant change in my
After developing software for about 5 years now, I have spent probably atleast 20%
After reading a few enlightening articles about memory in the .NET technology, Out of
Possible Duplicate: Round a double to 2 significant figures after decimal point I know
I have found a fairly significant issue with IE8 with regard to setting cookie
After significant bit of searching around, I am still feeling quite clueless as to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.