Solved

Website - Link accounts with FB

Posted on 2011-09-07
4
212 Views
Last Modified: 2012-08-30
Hi All,

I'm working on a website where I need user to be able to link their website account with their facebook account (for example, they create an account with my website, then in their account management section they are able to link in a Facebook account and in future more account types will be available to link).  More specifically I need permission from the user for the website to post a message to the wall of one of their pages they have created within facebook (eg business pages etc).

Any help (preferably with the more detail the better, example code or description of how to achieve this) are greatly appreciated.

Thanks

Matt
0
Comment
Question by:MattJellings
  • 3
4 Comments
 
LVL 28

Expert Comment

by:strickdd
ID: 36497052
There is a series of articles facebook provides to accomplish this: http://developers.facebook.com/docs/guides/web/

More importantly: http://developers.facebook.com/docs/reference/plugins/login/
0
 
LVL 4

Author Comment

by:MattJellings
ID: 36497098
Sorry, I think I should have made my request more specific and explained things better.. I understand there is the login plugin available, but i need to know how to then link their FB account with their internal website account and subsequently be able to post messages to the wall of one of their pages
0
 
LVL 4

Accepted Solution

by:
MattJellings earned 0 total points
ID: 36516037
I managed to find part of the solution myself to this issue on this page: http://www.barattalo.it/facebook-connect-tutorial/

This allowed me to link my own website account with a facebook account so i now have stored in the DB the facebook user ID and the access token.

From this I was able to use the Graph API to get a list of pages (accounts) that the user managers and store the page ID in the database as well.

The last thing I need to figure out is how to post to the wall of the page as the page itself rather than my own personal account.
0
 
LVL 4

Author Closing Comment

by:MattJellings
ID: 36541394
Eventually managed to find the solution and example code myself
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Echo Multiple values from multiple records 19 40
convert Systemjs to Webpack 3 31
really easy css change help please 4 18
Only allow one check box 17 25
Find out what you should include to make the best professional email signature for your organization.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question