15 Topics

Member Avatar for
Member Avatar for Paulo_7

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 …

Member Avatar for Dani
0
226
Member Avatar for kannan mangalar

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 …

Member Avatar for almostbob
0
747
Member Avatar for Dani

# 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, …

Member Avatar for diafol
4
1K
Member Avatar for Dani

# 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 …

2
1K
Member Avatar for diafol

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.

Member Avatar for pritaeas
0
380
Member Avatar for ~s.o.s~

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 …

Member Avatar for Dani
0
556
Member Avatar for pauldespre

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 …

0
223
Member Avatar for Dani

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 …

Member Avatar for Dani
0
1K
Member Avatar for diafol

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 * …

Member Avatar for LastMitch
2
530
Member Avatar for rrr12345

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) …

Member Avatar for riahc3
0
333
Member Avatar for Dani

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 …

Member Avatar for Dani
0
897
Member Avatar for zachmandude32

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 …

Member Avatar for Dani
0
219
Member Avatar for philip.s

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 :-(

Member Avatar for StephNicolaou
0
85
Member Avatar for JoshuaBurleson

Does anybody know a good working Python 3.x wrapper for OAUTH2? I'm having issues with the backwards incompatability with simplegeo-python-oauth2.:'(

Member Avatar for TrustyTony
0
132
Member Avatar for eantz

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 …

Member Avatar for Mouche
0
176

The End.