?
Solved

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

Posted on 2015-02-03
4
Medium Priority
?
200 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
  • 2
3 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

A great marketing strategy is diverse.  Read about the not so popular, yet effective, marketing tactics you can start using today!
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month14 days, 1 hour left to enroll

809 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