NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

1
1

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

buddhima
1166711
accept rate: 0%

edited 05 Aug '12, 12:17

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866

Hi,

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
1

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

buddhima
1166711
accept rate: 0%

Follow this question

By Email:

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

By RSS:

Answers

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:

×29
×22
×5
×3

question asked: 04 Aug '12, 17:21

question was seen: 4,500 times

last updated: 14 Dec '12, 15:54

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum