48 Topics

Member Avatar for
Member Avatar for Dani

For those of you who remember, the old DaniWeb API went away over the summer when we switched to the Dazah platform. We have a new little API launched now to access articles/posts. However, you can now use Dazah to connect with the entire DaniWeb community. https://www.daniweb.com/welcome/api

Member Avatar for Dani
1
663
Member Avatar for Dani

Hi, Unfortunately all of the Dazah integration stuff with DaniWeb is taking *much* longer than anticipated. I'm still working to try to get it out for you guys, but it's just taking a really long time. That being said, now that the concept of a Dazah login has kind of …

Member Avatar for Dani
0
915
Member Avatar for Lois_4

Calculate the product of two numbers without using the multiiplication (*) operator. Consider the sample output. Enter 1st number: 2 Enter 2nd number: 2 Product: 4

Member Avatar for JamesCherrill
0
464
Member Avatar for Dani

Hey everyone, Sorry that private messaging is still down. It's one of the main features that is being implemented through Dazah. Unfortunately, it wasn't until sticking it into a production environment when I realized that its performance is subpar and the algorithms need a major overhaul. That's what I've been …

Member Avatar for Dani
2
492
Member Avatar for diafol

What's the current status of the API following the update to tags? For searching, can ony see: `http://www.daniweb.com/api/articles/search?query=blah` which gives the same results regardless of the query text (and the 'members' equivalent, which seems to work). Was there not a tags endpoint before? Can't remember. Anyhow, was thinking of a …

Member Avatar for diafol
1
590
Member Avatar for Dani

This is an important notification that DaniWeb is in the process of being upgraded, and will most likely be down and/or in read-only mode for the remainder of th is evening. When it comes back up, it *may* be buggy ... we'll see. I've rewritten every single line of code …

1
233
Member Avatar for AleMonteiro

Is anybody developing an Android App for DaniWeb? If nobody is, I'm planning on doing so, and if someone wants to participate, you'll be welcome. If someone is developing, and wants help, I'd like to participate. Cheers. Ps.: I was not sure if I should post this here or in …

Member Avatar for Bandarigoda123
0
328
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

I've recently switched our login mechanism, and our API, over to SSL (https:// vs http://) I am using the following: RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} danipad [NC,OR] RewriteCond %{REQUEST_URI} api [NC,OR] RewriteCond %{REQUEST_URI} members/join [NC,OR] RewriteCond %{REQUEST_URI} members/login [NC,OR] RewriteCond %{REQUEST_URI} members/edit_profile [NC,OR] RewriteCond %{REQUEST_URI} members/edit_membership [NC] RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} …

Member Avatar for Assembly Guy
0
801
Member Avatar for Dani

It's time yet again for a DaniWeb Developer Competition!! This time the goal is to utilize [our new API](http://www.daniweb.com/api/home) launched last month. There's a lot that you can do with our API. Essentially it allows your application (web, desktop, mobile, etc) to tap into DaniWeb's backend. Your own application can …

Member Avatar for Mike_danvers
4
3K
Member Avatar for Mike Askew

Been running a couple of article queries this morning. When running `http://www.daniweb.com/api/articles?forum_id=61` I encountered what looks like a bug. The 11th thread reply coming back in the query is the following: { "title":"please help me .........", "related":[ { "id":"" } ], "posters":[ { "id":"1098860" }, { "id":"46588" }, { "id":"1091071" …

Member Avatar for Mike Askew
1
405
Member Avatar for Mike Askew

Running Dani's profile as an example I get the JSON back containing: "education":[ { "key":"education", "value":"B.S. Computer Science", "organization":"Hofstra University", "start":"September 2000", "end":"December 2005", "description":"I majored in Computer Science and minored in Business Computer Information Systems. I was in Upsilon Pi Epsilon, the Computer Science Honor Society run by the …

Member Avatar for diafol
1
370
Member Avatar for pritaeas

I thought this was discussed somewhere, but I can't find the thread. I've updated my authorization to the one you gave me Dani. If I now start my DwArticleWatch after a while (about 2 hours, but unconfirmed) I get an error message that curl failed. I think the access token …

Member Avatar for Dani
0
364
Member Avatar for Dani

A few new OAuth-related API features. Firstly, there is now the concept of scope. So if you want to do things like spy on a member's private messages or chat on their behalf, you now need to pass in the required scope (details in API documentation) to ask for more …

Member Avatar for Dani
3
305
Member Avatar for Learner010

I don't know APIs? but i heard of Daniweb API. what it is ? Now i am playing with basic controls of vb.net but i hope after getting about API i'll be able to guess what kind of application i create in vb.net using Daniweb API? So , i won't …

Member Avatar for Dani
0
308
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 Mike Askew

As far as I can see, to develop applications using OAuth we need to own server space to host a site? An application, when registered to DaniWeb, requires a URL to be provided. A desktop application obviously doesn't have one of these. When sending OAuth requests we have to provide …

Member Avatar for Dani
1
636
Member Avatar for Dani

This was posted in a behind-the-scenes forum yesterday, but here it is for everyone today: There have been a LOT of changes so far, and more to come. Most of what's happened so far has dealt with OAuth. A lot more security on the backend and more in line with …

Member Avatar for Dani
2
313
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
564
Member Avatar for pritaeas

Dani, if I get the following URL: http://www.daniweb.com/api/articles?page=1&orderby=firstpost&access_token=MY_TOKEN it returns the attached JSON result, which fails to `json_decode()`. Can you have a look please?

Member Avatar for Dani
0
295
Member Avatar for Dani

There is full read and write chat functionality now added to the API :) Who wants to write two-way IRC<-->DaniWeb Chat integration? ;) Any takers ... ?? You need an access token in order to post, but it's feasable if you create a new DaniWeb account named "IRC Bot" and …

Member Avatar for Reverend Jim
3
1K
Member Avatar for pritaeas

I have the following code: const AGENT = 'User Agent'; SERVER = 'www.daniweb.com'; RESOURCE = 'api/access_token'; ID = ''; // my client id SECRET = ''; // my client secret CODE = ''; // my returned code, pasted from the browser REDIRECT_URI = ''; // my redirect uri ACCEPT: packed …

Member Avatar for pritaeas
0
2K
Member Avatar for diafol

Would it be useful to have an update thread for when you make changes to the API structure for example. Did forum_id get changed from forumid or then to just id for certain forums (can_read)? My app stopped working and I couldn't work out why - then iterating over the …

Member Avatar for Dani
0
680
Member Avatar for pritaeas

Attached is the code for my RSS dashboard, using the DaniWeb API. It's an improved version of the mashup I posted earlier, using jQuery to get all feeds asynchronously. The part which initially loads the forums is shown below. It creates an API object, and a Parser object. The first …

Member Avatar for pritaeas
1
464
Member Avatar for Dani

Spiceworks, one of DaniWeb's advertisers, has just rolled out their DaniWeb API integration!! Check it out here: http://www.spiceworks.com/p/daniweb Please be sure to give suggestions :)

Member Avatar for BigPaw
4
306
Member Avatar for Labdabeta

Hello. I read about the daniweb api competition thing and I have an idea of what I want to create. I have never done anything webby before (aside from using dreamweaver to make websites) and I think its about time that I did! I am hoping that it is possible …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for bCubed

I don't know if there is a mobile app or mobile version for this site, but I have not seen one. I think it could work great if you could check to see if someone has answered your question from a mobile device or respond to someones answer. although you …

Member Avatar for Reverend Jim
2
547
Member Avatar for riahc3

Hello This is a demo showing Java interacting with Daniweb's new API ( http://www.daniweb.com/api/documentation ) You introduce a member's name and it should show you the total number of posts he has made. Demo is a proof of concept: No bug checking, error checking, etc is in this code. In …

Member Avatar for peter_budo
4
874
Member Avatar for riahc3
Member Avatar for pritaeas

http://www.daniweb.com/api/members/94719/articles?page=1&filter=watching&orderby=lastpost&access_token=MY_ACCESS_TOKEN I expected four results here, but it shows only watched articles started by me (two). I want all watched articles. What did I miss?

Member Avatar for pritaeas
0
206

The End.