This topic is locked

Facebook Integration

2/1/2011 1:42:40 PM
PHPRunner General questions
C
cds92878 author

I Have Been Researching This And Believe It Can Be Done Fairly Easy (For Someone Who Knows What They Are Doing). I Have Made Several Attempts With No Success. The Facebook Documentation Is Lacking Or Just Hiding. Plus It Seems To Change Daily. I Am Very Frustrated And Need Help. I Simply Want To Log Into My PHP Runner App Thru Facebook. My Only Succesfull Attempt Was To Connect My PHPR app With Joomla And Integrate Joomla With Facebook It Actually Worked However it is Too Complcated And You End Up With PHPR In Joomla Wrapper And Joomla In Facebook Wrapper (Canvas).

Sergey Kornilov admin 2/1/2011

We do not yet have any examples that cover Facebook integration.

C
cds92878 author 2/1/2011

Yes I Know Just Putting It Out There In Case Any One Has Any Ideas. I Will Continue To Work On This. If I Ever Get It Ill Share.

Sergey Kornilov admin 2/1/2011

It's very simple in fact. You can use any Facebook login script and once user is authenticated add two lines of code:

$_SESSION["UserID"] = "Some user id";

$_SESSION["AccessLevel"] = ACCESS_LEVEL_USER;



If you use User Group permissions populate $_SESSION["GroupID"] as well.