Solved

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

Posted on 2015-02-03
4
149 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
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 500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses four methods for overlaying images in a container on a web page
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 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 …

828 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