15 Topics
|
|
good afternoon, I have been trying to use "login with facebook" on my website for 15 days. I have been using the code published by Facebook, at the link https://developers.facebook.com/docs/facebook-log... web / v2.2. My problem with this code is that I want the customer after login with his facebook (through … |
|
if (!empty($_POST['twitnam'])) { $message = $_POST['message']; $TwitterUsername = $_POST['twitnam']; $tw_sql = mysqli_query($connection, "SELECT oauth_token,oauth_token_secret FROM TwitterUpdate WHERE uname='$TwitterUsername'"); $row = mysqli_fetch_array($tw_sql, MYSQLI_ASSOC); $oauth_token = $row["oauth_token"]; $oauth_token_secret = $row["oauth_token_secret"]; if (strlen($oauth_token) > 0 && strlen($oauth_token_secret) > 0) { $Twitter = new EpiTwitter($consumer_key, $consumer_secret); $Twitter->setToken($oauth_token, $oauth_token_secret); $status = $Twitter->post_statusesUpdate(array('status' => $message)); echo … |
|
# What is OAuth and why do I want to use it? If you want to write an application that caters to existing members of a service, and you want your application to be able to access private areas of your end-users' profiles, or modify their accounts on their behalf, … |
|
# The nature of this tutorial ... This tutorial is designed to walk you through DaniWeb's implicit (clientside) OAuth flow. This is not designed to be an introductory tutorial to OAuth, and we will expect that you are already familiar with the nature of OAuth and/or have read our tutorial … |
|
|
prompted by the discussion on antoher thread... This has stopped working (jQuery/OAuth): http://dw.diafol.org/en/dw-box/ Although this still works (php/no OAuth): http://dw.diafol.org/en/dw-badge/ When I start the ball rolling with a click on the jQuery example, I get the authentication box and nothing else. Subsequent clicks bring up the box again. |
Hi Dani, AFAIK OAuth 2.0 supports 3 flavours: Server side apps, client side apps and installed apps. Does Daniweb Oauth allow OOB in the redirect_uri which is part of the support for installed/standalone apps? If no, are you expecting desktop app writers to spawn a local web server and use … |
|
I want to write a script that logs an user into Facebook and initialize oauth dialog to get the access_token(*I don't want to log in into a website using facebook account!*). I don't want to use facebook-sdk,pyfb etc. This is what I've tried: import sys, urllib2,json,urlparse,webbrowser, os, cookielib, re class … |
|
Maybe I'm just being dense, but I'm using [this documentation](https://developers.google.com/accounts/docs/OAuth2Login#sendauthrequest) to use Google OAuth 2 login. I'm able to successfully retrieve a JSON array that consists of the access_token, id_token, etc. The id_token is encrypted in what google calls a JWT (JSON Web Token). From what I understand, they're base … |
|
|
OK, as promised, here's an updated 'quick(!) and dirty' class for retrieving and setting data via the Daniweb API. It allows the extraction of data based around: # DATA RETRIEVAL & SETTING # ## non-OAuth ## * forums * articles * posts * members * activity points * endorsements * … |
Hello guyz, I am trying call oauth/request_token in order to oauth_token and oauth_token_secret. First here's the code string url = "https://api.twitter.com/oauth/request_token"; SortedDictionary<string,string> sd = new SortedDictionary<string,string>(); sd.Add("oauth_callback",oauth_callback); sd.Add("oauth_consumer_key",oauth_consumer_key); sd.Add("oauth_nonce",oauth_nonce); sd.Add("oauth_signature_method",oauth_signature_method); sd.Add("oauth_timestamp", oauth_timestamp); sd.Add("oauth_version",oauth_version); string base_string = String.Empty; base_string += "POST" + "&"; base_string += Uri.EscapeDataString("https://api.twitter.com/oauth/request_token")+"&"; foreach (KeyValuePair<string,string> entry in sd) … |
|
As many of you know, DaniWeb now has an API. It (optionally) uses OAuth 2.0 and it supports both server-side and client-side implementations. The server-side method I have down pat. However, I had to hack together the clientside implementation, and although it works, I'm not sure it's done "correctly". I … |
|
First off, I'm not sure if this the appropriate place to post this question, but I thought I would just try anyway :?: I was wondering if anyone had any fun APIs that I could use basic authentication more specifically cURL. I you used to be able to use basic … |
|
|
Hi Guy's, I need to write a simple application that posts to twitter using (most probably) the Zend framework. This application should work for only 1 user. I have tried numerous different tutorials, but keep getting stuck. Please help :-( |
Does anybody know a good working Python 3.x wrapper for OAUTH2? I'm having issues with the backwards incompatability with simplegeo-python-oauth2.:'( |
|
Hi everyone, I have a project that need an API but still in progress. But, I have a problem with this API authentication. The authentication method I want to use is oAuth. But, unfortunately I don't have any acknowledgement about authentication. I've read many tutorial but I still don't know … |
The End.