Improve company productivity with a Business Account.Sign Up

x
?
Solved

Website - Link accounts with FB

Posted on 2011-09-07
4
Medium Priority
?
221 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:Matt
  • 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:Matt
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:
Matt 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:Matt
ID: 36541394
Eventually managed to find the solution and example code myself
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

This holiday season, we’re giving away the gift of knowledge—tech knowledge, that is. Keep reading to see what hacks, tips, and trends we have wrapped and waiting for you under the tree.
Laravel is the most sought after web development framework. It comes with ample amount of features that make it easy for developers to work around it. Know about its features in detail.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

584 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