Jump to content

Search the Community

Showing results for tags 'access-token'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. Hey everyone I finally reach a point where I need to go a little further in what social integration is about. That said, and starting with facebook, I've read a few docs and follow the documention but a few questions still remain. I will start to say what I have understood so far: I've created the app in facebook, configured everything just right (I even manage to get a local and production environment going on) I manage to successful login and get the returned url with the token flag From what I understood, I need to get an access_token from this return token, using the php sdk method provided by facebook (something along the lines of $facebook->getAccessToken(); ) The problem: I want to have a like button (with the share dialog). Currently I'm not managing to get the like to appear on the user timeline - I do have permissions, given upon user login. My question: Has anyone implemented something like this? Should I get the access_token and store it in a session variable? How can I associated the access_token to the "like" request? What is usually the basic workflow? What I have: The user click the login button, gets redirected to the facebook page. Logs in, accepts permission and gets back to the mydomain.com/token=facebook_token. I have a script associated specifically to this url (script that upon login, registers/logs the user into my actual website). I think in this script, I can store whatever tokens I need, I'm just trying to figure out where to use them! I've ask around and either this is just so simple no one cares to explain or I'm just having bad luck! Thank you very, very much for your attention. ps.: I'll buy you a beer!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.