Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Pulling user data out of Facebook via PHP

  • 12-05-2011 3:23pm
    #1
    Registered Users, Registered Users 2 Posts: 1,747 ✭✭✭


    Is anyone working with pulling user data out of facebook for targeting and marketing?
    I am looking for some starter guides to find out what is possible and some simple PHP examples.
    Finding the Facebook developer examples a bit above my coding skill level.

    I found this a great guide on setting up a page but now want to move a little beyond it and see what can be done with pre populating fields in subscribe forms or competitions etc http://scalablesocialmedia.com/2011/02/like-gating-your-new-iframe-facebook-page/

    Thanks,
    Alan


Comments

  • Registered Users, Registered Users 2 Posts: 1,657 ✭✭✭komodosp


    Also interested in this, particularly incorporating the login... i.e. if you're logged into facebook, you're logged in to my site and I can use your facebook ID as your ID... Not something that websites would normally do but I'm thinking facebook is getting so ubiquitous at the moment that it's something that might be possible...


  • Registered Users, Registered Users 2 Posts: 527 ✭✭✭Sean^DCT4


    komodosp wrote: »
    Also interested in this, particularly incorporating the login... i.e. if you're logged into facebook, you're logged in to my site and I can use your facebook ID as your ID... Not something that websites would normally do but I'm thinking facebook is getting so ubiquitous at the moment that it's something that might be possible...

    Yes, you'll be glad to know that this most certainly is possible. FaceBook have a lot of tutorials on developers.facebook.com. I have written a web application in .NET/C# that prompts the visitor to sign-in with FaceBook and then gets their unique FaceBook ID and goes on to create a user in my system.. Check out Facebook Connect / Open Graph.

    Figment wrote: »
    Is anyone working with pulling user data out of facebook for targeting and marketing?
    I am looking for some starter guides to find out what is possible and some simple PHP examples.
    Finding the Facebook developer examples a bit above my coding skill level.

    I found this a great guide on setting up a page but now want to move a little beyond it and see what can be done with pre populating fields in subscribe forms or competitions etc http://scalablesocialmedia.com/2011/02/like-gating-your-new-iframe-facebook-page/

    Thanks,
    Alan

    Spend a little more time on developers.facebook.com and I think you will get all of the code snippets you need. At least they provide examples in your language: PHP. It was a nightmare for me trying to reproduce their code in .NET/C# :(

    Most important step is to register your site with facebook and you will then get your APP ID and Secret ID. Can't do anything without that.


Advertisement