Click here to Skip to main content
15,881,248 members
Home / Discussions / CodeProject API
   

CodeProject API

 
GeneralSmall concern about a reserved word 'abstract' as a JSON Property Pin
Ranjan.D26-Sep-14 0:57
professionalRanjan.D26-Sep-14 0:57 
GeneralRe: Small concern about a reserved word 'abstract' as a JSON Property Pin
Agent__00726-Sep-14 1:55
professionalAgent__00726-Sep-14 1:55 
GeneralRe: Small concern about a reserved word 'abstract' as a JSON Property Pin
Ranjan.D26-Sep-14 3:36
professionalRanjan.D26-Sep-14 3:36 
GeneralWhere... Pin
PJ Arends22-Sep-14 17:38
professionalPJ Arends22-Sep-14 17:38 
GeneralRe: Where... Pin
Agent__00722-Sep-14 17:42
professionalAgent__00722-Sep-14 17:42 
GeneralRe: Where... Pin
PJ Arends22-Sep-14 17:45
professionalPJ Arends22-Sep-14 17:45 
GeneralWow, glad to see this API! Pin
iamstarbuck22-Sep-14 8:05
iamstarbuck22-Sep-14 8:05 
QuestionPersistent Access Token? Pin
Agent__00721-Sep-14 20:48
professionalAgent__00721-Sep-14 20:48 
Wow! I am first to post a message here! Cool | :cool:

So, my question is, is there any "persistent" access token which I could use to query both My and Other APIs and which doesn't expire at all (so that I could hard-code it)? I am thinking to write a small WPF application (purely for personal use) and not able to figure out how to query the "My" API. I am able to get the access token as given in the sample Console application, but not able to query the "My" API using it.

While the documentation does say -
The My API gets information about the logged in User. As such, the My API requires the user to grant the client application access to their information using the Authorization Code Grant or Implicit Grant flow from the OAuth2 specification to get the Access Token.
, and I tried referring this [^] article on Authorization Code Grant and Implicit Grant, I am not able to figure out how to implement it and where and how exactly should I use the Redirection URL and Grant Permission stereotype in a WPF application.

Any help would be greatly appreciated.
Whether I think I can, or think I can't, I am always bloody right!

AnswerRe: Persistent Access Token? Pin
Chris Maunder22-Sep-14 5:59
cofounderChris Maunder22-Sep-14 5:59 
GeneralRe: Persistent Access Token? Pin
Agent__00722-Sep-14 18:28
professionalAgent__00722-Sep-14 18:28 
AnswerRe: Persistent Access Token? Pin
Matthew Dennis22-Sep-14 6:27
sysadminMatthew Dennis22-Sep-14 6:27 
GeneralRe: Persistent Access Token? Pin
Agent__00722-Sep-14 18:26
professionalAgent__00722-Sep-14 18:26 
GeneralRe: Persistent Access Token? Pin
Matthew Dennis23-Sep-14 7:35
sysadminMatthew Dennis23-Sep-14 7:35 
GeneralRe: Persistent Access Token? Pin
Agent__00723-Sep-14 18:01
professionalAgent__00723-Sep-14 18:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.