Update Facebook status with PHP and cURL

Technology
Update Facebook status with PHP and cURL

Christian Flickinger wanted to be able to sync status updates between his Twitter and Facebook accounts, so that when his status is updated on Twitter, his Facebook status is automatically updated at the same time. Unfortunately, Facebook didn’t have an API for setting status, so Christian decided to hack his own using PHP and cURL.

With a few lines of code, his script will authenticate with Facebook account and update its status. It’s a simple script you can incorporate into your own project to sync your status to anything – Link.

What will the next generation of Make: look like? We’re inviting you to shape the future by investing in Make:. By becoming an investor, you help decide what’s next. The future of Make: is in your hands. Learn More.

Tagged
Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 16th iteration!

Prices Increase in....

Days
Hours
Minutes
Seconds
FEEDBACK