Re: Comment on OauthPhpFiles in oauth-php

19 views
Skip to first unread message

oaut...@googlecode.com

unread,
May 6, 2011, 12:26:51 PM5/6/11
to oauth-ph...@googlegroups.com

oaut...@googlecode.com

unread,
Sep 22, 2011, 7:24:06 PM9/22/11
to oauth-ph...@googlegroups.com
Comment by kkmgo2:

Thanks

oaut...@googlecode.com

unread,
Nov 24, 2011, 12:47:08 PM11/24/11
to oauth-ph...@googlegroups.com
Comment by techie...@gmail.com:

Hello Marc,

I want to setup a server where a user will authenticate himself using oAuth
from a mobile application.
Am i at the right place?Can you please explain me how to set this up?

Regards
Himanshu Sharma

oaut...@googlecode.com

unread,
Apr 9, 2012, 8:12:30 PM4/9/12
to oauth-ph...@googlegroups.com
Comment by flohu...@gmail.com:

Would you consider writing some explanatory documentation on how to make
custom stores? I know it's simply "class MyStore extends
OAuthStoreAbstract", but looking for what all these abstract methods are
supposed to do isn't easy .. thanks =)

For more information:
https://code.google.com/p/oauth-php/wiki/OauthPhpFiles

oaut...@googlecode.com

unread,
Jul 3, 2012, 9:46:33 AM7/3/12
to oauth-ph...@googlegroups.com
Comment by adrianbo...@postmaster.co.uk:

i Want to create a button on my site that connects to Twitter and gets
Oauth using PHP.

i Then want to display archived tweets for that user etc

How do I do this?

Do I set your index page to the file on my webpage eg twitter.html?

Will I need an SQL database to store tokens?

OAuth settings

Your application's OAuth settings. Keep the "Consumer secret" a secret.
This key should never be human-readable in your application.
Access level Read-only
About the application permission model
Consumer key MqfxDJ9h1T4ZvWshOeiGgA
Consumer secret ZzNLr6Zftuay1lJinx0vUnOS20qTkNnKw9Z1bWYoc
Request token URL https://api.twitter.com/oauth/request_token
Authorize URL https://api.twitter.com/oauth/authorize
Access token URL https://api.twitter.com/oauth/access_token
Callback URL http://www.xymalf.co.uk/twitter.htm

How do I do above? What do I need to tell my web company for the SQL part?

oaut...@googlecode.com

unread,
Jul 3, 2012, 12:44:15 PM7/3/12
to oauth-ph...@googlegroups.com
Comment by adrianbo...@postmaster.co.uk:

if ($_SERVER['REQUEST_METHOD'] == 'POST')
{
try
{
$store = OAuthStore::instance();
$user_id = 1; // this should not be hardcoded, of course
$key = $store->updateConsumer($_POST, $user_id, true);

what should you code in this?

oaut...@googlecode.com

unread,
Aug 21, 2012, 11:50:09 AM8/21/12
to oauth-ph...@googlegroups.com
Comment by 68696...@gmail.com:

why are there no 3-legged examples?

oaut...@googlecode.com

unread,
Nov 22, 2013, 1:50:51 PM11/22/13
to oauth-ph...@googlegroups.com

oaut...@googlecode.com

unread,
Aug 27, 2014, 5:07:22 AM8/27/14
to oauth-ph...@googlegroups.com
Comment by lilyo.li...@gmail.com:

birman did'nt see on the url that you gave

regards Lily (http://www.asapy.com/)
Reply all
Reply to author
Forward
0 new messages