Note that there are some explanatory texts on larger screens.

plurals
  1. POFacebook best practice for dual-authentication (client and server)?
    primarykey
    data
    text
    <p>I have a hosted facebook app. I hold additional PHOTO-TAG info not stored at facebook. From a device, I allow the user to (1) upload a photo, and (2) store additional photo-tag info at my server (C# MVC)</p> <p>My requirements: 1. photo should go directly to fb. Don't want the user to lose it should my host go down. (I already do this). 2. additional tag info should be authenticated. [if it's not, anyone can save this info about any photo]. (I already save tag-info, but unauthorized in my sandbox)</p> <p>? What's the best practice to: Ensure that when I get a tag-save-request at my server (with a saved photo id), I can verify the user for that photo.</p> <p>I can already do server-auth when FB users access my site from a desktop. I can already do client-auth when my device app connects/uploads the photo. (using 'code' then exchanging it for a token)</p> <p>But, when I pass the access-token from the client to my server, and I try to check it thru FB, I get an #804 (or 803) back about an auth-issue. Clearly not the way to do it.</p> <p>Should I make my device-client go thru my server with a redirect to auth and I capture/save/create some extra token? I'm only worried that I then wouldn't be able to upload directly to FB. Should I pass the code and exchange it for a token at the server (after already exchanging it at the client? can you do it more than once?)</p> <p>(I already know about <a href="http://developers.facebook.com/docs/authentication/" rel="nofollow">http://developers.facebook.com/docs/authentication/</a> but it doesn't (that I can see) address this scenario)</p> <p>Best solutions? Thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload