331 Topics

Member Avatar for
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
638
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
316
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
568
Member Avatar for Yorkiebar14

Hello! I am editing my website to make it more updated and have created a new couple of pages which use my Database. I created the script and the databases (and tables) and everything was working OK... until somehow the tables have got partially deleted. I say partially because if …

Member Avatar for Reverend Jim
0
341
Member Avatar for diafol

Have a look at this thread... http://www.daniweb.com/web-development/databases/mysql/threads/466095/create-.mdf-file-from-mysql My machine shows seems to reformat this to plain text. So just plain page of text. Using Chrome/W7. Anybody else?

Member Avatar for diafol
0
307
Member Avatar for Ketsuekiame

Hi, just a report to say that when you click on a link to go directly to a post, the page scrolls too far and it becomes hidden under the top menu banner. In order to see the beginning of the post you have to scroll back up. This is …

Member Avatar for Ketsuekiame
1
246
Member Avatar for younes.keraressi

when i uncoment this line 144; i have error , and i debug and it was good, can anybody help me why i got this kind of error mybe should i declare List<employ>* list2, but it must wrok good like normale way List<employ> list2 #include<iostream> #include<fstream> #include<string> using namespace std; …

Member Avatar for younes.keraressi
0
179
Member Avatar for PriteshP23

I need to develop Feedback module in PHP/MySQL. **I would like to know the database design and flow to manage this system.** > There are questions for 2 tools which i need to store in my databse and need to create report like %of Positive Response, % of Negative Response, …

Member Avatar for broj1
0
1K
Member Avatar for HiHe

Can anyone give this a try? '''print_error_python33.py there are times when a print() trailing newline disappears with Python 3.3.0 this does not happen with Python 3.2.3 or Python 2.7.3 ''' size = 180000 print("creating long string of %d sevens" % size) # create a long string of digits s2 = …

Member Avatar for vegaseat
0
337
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
298
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 mmcdonald

Hi all, I've been playing around with PHP for a while now and never really studied hardcore (Just used it as best as I could on a whim) but I've now decided to sharpen the skill and get much better. I'm playing around with my first class and would like …

Member Avatar for mmcdonald
0
509
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
683
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
467
Member Avatar for Ketsuekiame

Seems like there might be a problem with the editor not recognising code insertion when you're pasting code in the middle of a list. Below is a post displaying the problem http://www.daniweb.com/software-development/csharp/threads/458671/c-mysql-display#post1993030 I tried multiple ways to get that in there including: 1. Single Enter + Tab 2. Double Enter …

Member Avatar for Ketsuekiame
0
370
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
308
Member Avatar for otengkwaku

I went for an interveiw yesterday. and in my cv i had a link to my endorsment page. To my supreise i pass, all the others had better cv than me but i pass. I had something all of them didn't have endorsment from people i did not know and …

Member Avatar for Reverend Jim
0
212
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 Aethir

# This is an advanced guess the number game. import random # The very basis of this game. import math # Used for math.ceil import time # Used to split up long portions of text. def errorDisplay(errorCode): if errorCode == '1': print('\n\n\nError ' + errorCode + ': unlockedGameModes outside of …

Member Avatar for Aethir
0
282
Member Avatar for mike_2000_17

I was just looking a this thread with a lot of quotes (people quoting each other) and there were these really weird graphics (see the attached snapshot). I'm using Chrome: Google Chrome 26.0.1410.63 (Official Build 192696) OS Linux WebKit 537.31 (@147513) JavaScript V8 3.16.14.11 Flash 11.2 r202 User Agent Mozilla/5.0 …

Member Avatar for Dani
1
216
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
878
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
208
Member Avatar for Dani

The very early workings of an API ... http://www.daniweb.com/api/documentation Any ideas churning??

Member Avatar for Dani
6
3K
Member Avatar for Reliable

Hello, [Here](http://www.inecnursing.org) is the website I have done. [Here](http://www.inecnursing.org/inec.css) is the css to the site. [Here](http://inecnursing.org/SpryMenuBarHorizontal.css) is the CSS for the menu bar.Lastly, here is the CSS for the menubar to fit on the home page. #menubar { margin-left:169px; width:75%; } I'd like someone to let me know why the …

Member Avatar for pixelsoul
0
174
Member Avatar for diafol

Just asking about the relevancy/meaning of 'page' in requests based on 'members'. e.g. http://www.daniweb.com/api/members?page= http://www.daniweb.com/api/members/{:IDS}?page= When used in this manner, I seem to get a random bunch of members (when not set to 1), regardless of IDS. How many members/page ?

Member Avatar for diafol
1
481
Member Avatar for Dani

I know I promised not to make anymore drastic changes to the API, but ... well ... I lied. The two API write operations (voting on posts and watching/unwatching articles) used to always respond with a JSON object in the format success: true or success: false Now, they return the …

2
187

The End.