Facebook SDK Auto Posting

I've got an app idea in mind - but I'm relatively unfamiliar with the FB SDK.

Once a user has granted the app authorization to post on their behalf - the user doesn't need to be logged in/etc from that point on for the service to work, correct?  Once the App ID is registered to the user and appropriate authorizations granted - the server can just call up the user's ID/Group ID/etc from SQL and post automatically?
LVL 2
erzoolanderAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MlandaTCommented:
That is "correct", it's as simple as that. However, I would strongly suggest that you take a look at how OAuth 2.0 works. This is essential for you to design your solution more effectively and to understand what exactly is going on. Typically, after the user grants you authority, you actually have to pass in an Authorization header with all the HTTP requests you make to the Facebook servers. This Authorization header will contain the access token Facebook would have give you earlier (when the user granted you the authority to have the access permissions which you asked for). The header might look like:
GET /profile HTTP/1.1
Host: api.example.com
Authorization: Bearer MzJmNDc3M2VjMmQzN

Open in new window


I suggest you search for introductory material on OAuth. Here are a few:
http://www.bubblecode.net/en/2013/03/10/understanding-oauth2/
http://www.cubrid.org/blog/dev-platform/dancing-with-oauth-understanding-how-authorization-works/
http://self-issued.info/docs/draft-ietf-oauth-v2-bearer.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
erzoolanderAuthor Commented:
Gracias
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Facebook

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.