• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

Website - Link accounts with FB

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
Matt
Asked:
Matt
  • 3
1 Solution
 
strickddCommented:
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
 
MattAuthor Commented:
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
 
MattAuthor Commented:
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
 
MattAuthor Commented:
Eventually managed to find the solution and example code myself
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now