Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do you authenticate a user to post status updates to Twitter and Facebook?

Posted on 2015-02-03
4
Medium Priority
?
190 Views
Last Modified: 2015-02-05
I'm writing an application that will post a status update in Twitter and in Facebook. I'm confused about how to authenticate the user. I will need to do this for many different users, so I will need each user to allow access.

Does anyone have a working example of authenticating a user and posting a status update in either Twitter or Facebook or both?

I'm writing in PHP.

Much obliged.
0
Comment
Question by:EffinGood
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Author Comment

by:EffinGood
ID: 40589358
Yeah, I got that. But a working example would be the most help to me as I had originally indicated. Any ideas? Thanks a lot.
0
 
LVL 25

Accepted Solution

by:
Kyle Hamilton earned 2000 total points
ID: 40590856
i use an oauth library which i have not had any issues with.

http://www.phpclasses.org/package/7700-PHP-Authorize-and-access-APIs-using-OAuth.html

it's not really possible to provide a working example of this as this in not a simple task, and every application will have its own nuances. the script above provides some examples you can work from
0
 

Author Closing Comment

by:EffinGood
ID: 40591929
Thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Facebook has became the #1 social media platform. People share many funny videos there, yet you don't know how to download them? Now you can download Videos from Facebook in just 3 simple steps.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

609 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