Hi, I'm interested in creating an Oauth 1.0 client for Openstreetmaps. I wanted to make my own client without using libraries. In OSM I saw that callback url is optional and have to set when registering application. But according to normal protocol we have to insert callback as a parameter. In this case I'm confused about what should be included in parameter list that send to Request Token URL ?

asked 04 Aug '12, 17:21

buddhima's gravatar image

accept rate: 0%

edited 05 Aug '12, 12:17

SomeoneElse's gravatar image

SomeoneElse ♦


Can someone answer this question please? because it is very essential for my project.

common way of requesting is :

oauthRequest('requestTokenURL', 'POST', $parameters)

This $parameters variable only consists of 'callback' url.

I want to know what should I provide at there instead of 'callback' url?

Will it cause any problem if I send it as an empty variable?

Thank you!

(09 Aug '12, 16:43) buddhima

If you cannot get any answer here, try to ask at http://forum.osm.org or at one of the http://wiki.openstreetmap.org/wiki/Mailing_lists

(09 Aug '12, 17:25) stephan75

Hi, Problem solved! Must mentioned callback url in OSM web site. No use of sending it in requests.

permanent link

answered 14 Dec '12, 15:54

buddhima's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 04 Aug '12, 17:21

question was seen: 2,673 times

last updated: 14 Dec '12, 15:54

powered by OSQA