Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Disqus API using easyXDM #264

Open
murliatdure opened this issue Aug 7, 2015 · 0 comments
Open

Disqus API using easyXDM #264

murliatdure opened this issue Aug 7, 2015 · 0 comments

Comments

@murliatdure
Copy link

Unable to achieve the disqus api using easyXDM.

var xhr = new easyXDM.Rpc({
remote: "https://disqus.com/api/3.0/"
}, {
remote: {
request: {} // request is exposed by /cors/
}
});

xhr.request({
url: "threads/create.json",
method: "POST",
data: {
title : 'OutletsThread',
forum : 'smartForum',
message : 'Buzz ur interest',
access_token : disqusAPI.accessToken
}
}, function(response) { //res, code
alert(response.status);
alert(response.data);
});

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant