716 Topics
![]() | |
![]() | 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 ? ![]() |
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 … | |
Here's my base class and class for the unauthenticated DaniWeb API calls. Not every method has all features implemented yet, and it's not been fully tested either. Here's how to start using it: include 'DwApiBase.class.php'; include 'DwApiOpen.class.php'; $dwapi = new DwApiOpen(); $result = $dwapi->GetMemberActivityPoints(94719); $result = $dwapi->GetMemberEndorsements(94719); $result = $dwapi->GetMemberReputationComments(94719); … | |
![]() | OK, as promised, here's an updated 'quick(!) and dirty' class for retrieving and setting data via the Daniweb API. It allows the extraction of data based around: # DATA RETRIEVAL & SETTING # ## non-OAuth ## * forums * articles * posts * members * activity points * endorsements * … ![]() |
Hello you all, I'm new here.. Hope it will become a good place for me. People are asking questions on bbPress support forums, but bbPress support looking inactive after 2.0 announcement. That's why I moved to DaniWeb. Let's see how developer community of DaniWeb will help me :) -- If … | |
McAfee publish a list of the top 10 spam subject lines, because of the work done by their threat research and filtering labs as well as customer feedback, and the latest for July shows how the spammer is now concentrating more on ID theft and less on helping you achieve … ![]() | |
![]() | # As of 4/4/2013 # This class has now been updated and posted here: http://www.daniweb.com/web-development/php/code/451674/all-in-one-daniweb-api-class# # ORIGINAL POST # This code can be used to retrieve a forum list with various options with regard to display. This class could be extended for articles, posts, etc etc. The retrieval methods include … ![]() |
## RSS Class ## The code snippet is a PHP class for retrieving RSS feeds from the DaniWeb website. There are two exposed methods, one for retrieving the list of predefined article types, and another to get a specific RSS feed. If you pass parameters to this method, there is … | |
## API Mashup ## This example is a mashup of [diafol's class](http://www.daniweb.com/web-development/php/code/451428/daniweb-api-class-for-getting-forums), [Dani's parsing code](http://www.daniweb.com/api/documentation) and [my class](http://www.daniweb.com/web-development/php/code/451390/daniweb-api-rss-class). It uses diafol's dwAPI class to retrieve a list of all forums, loops through them, and uses my Rss class to get the respective RSS feeds. It will show each forum in … ![]() | |
Hi all. I've been learning programming from the web for almost 2 years now and this'll be my first post ever on DaniWeb (or any forum ever). I have no experience with parallel programming but read about the simplicity of working with OpenMP, and that's what I need. Something that … | |
Wondering if, and if so where, I can revoke an authorization for an API client. It would be quite useful for testing if I can revoke it, to test and debug the application flow. Now the only possibility (AFAIK) is to add a new application. | |
On a post,my suggestion was upvoted with comments.But there is no change in reputation point.Is this a bug? [Click Here](http://www.daniweb.com/software-development/java/threads/448687/randon-number#post1939212) | |
The docs page for the DW API is off in IE10 (Win8), in Opera it works fine. Screenshot attached.  | |
Wasn't sure yet whether to post this publicly. I've adjusted the PHP code snippet for the OAuth. Curl allows you to trap a redirect and this snippet just shows how to do that for the token. The regex searches for the redirect url in the returned header, it can be … | |
![]() | Had a good few hours over the last few days. So playing with the API and decided to do a custom badge thing. http://dw.diafol.org/en/dw-badge/ Needs some work, but concept seems to be OK. ![]() |
![]() | Hi all, following a chat with Dani, I'm just posting an example of a jQuery OAuth implementation. Major updates to come over the next weeks and months, but it's a start. I'll be publishing the code once I've cleaned it up and de-noobified it somewhat. :) http://dw.diafol.org/ |
I have been around not very long. I learn pretty much every thing i know about programing form the web and sites like daniweb helped a lot. comparing a site like daniweb and an other popular site stack overflow ... I will pick daniweb any day. for two main reason. … | |
I was trying to edit a post that I made earlier, and the "Edit Post" link brought up the text edit mode, but did not have any "Save" or "Submit". Only "Cancel". Also, the "Edit Post" button was still active. When I clicked it the second time it just "refreshed" … | |
Been playing with the API a fair bit now in terms of writing a C# port of it. I tend to convert everything returned in JSON to an XmlDocument before manipulating it (Simply because I don't actually know how else to handle it within C#) However if I run any … ![]() | |
More of a request than a question really, is it possible to update the API documentation to show **all** possible returned fields from a query? For example the member query example using Dani does not show the fact the user could return a linkedin field in the social media section. … | |
![]() | While checking last_post timestamp in the returned json, I noticed a discrepancy of around 5 hours of the 'now' time and a 'just posted' time. AFAIK unix timestamp is UTC - so constant and timezone independent. Are DW timestamps modified to EST or have I messed up **again** with my … ![]() |
![]() | Ok, in response to this post: http://www.daniweb.com/community-center/daniweb-community-feedback/threads/447545/we-have-an-api-/14#post1938157 Regarding the output of http://jsonviewer.stack.hu/#http://www.daniweb.com/api/forums/descendants Go to viewer and look at array item 4 Also array item 5 -> items 5, 6. Looks odd. ![]() |
I have created email account in my website(ex: info@mywebsite.com) to use it for sending clients feedback.please guide me in jsp code to solve problem.. and sorry for bothering! | |
Hi, I'm creating a tutorial + repository website where the tutorials are free for the public to look at but the repository is not. However I am developing a login system that I want to sync with daniwebs login system. I have developed a curl system where the user can … | |
As many of you know, DaniWeb now has an API. It (optionally) uses OAuth 2.0 and it supports both server-side and client-side implementations. The server-side method I have down pat. However, I had to hack together the clientside implementation, and although it works, I'm not sure it's done "correctly". I … | |
Hi people. I have a remove function that should set a hide member of a node to 1 instead of actually remove the node. The function works well when I insert and remove top and tap respectively (both nodes have their hide member set to 1) but when I insert … | |
I dont guess anyone could help me out on setting up my products tables could they? I did search and read through these posts: http://www.daniweb.com/web-development/databases/threads/123850/e-commerce-data-design-issue http://www.daniweb.com/web-development/databases/threads/132796/database-schema-for-a-store But I'm still not sure, Currently my site will only have 3 separate products, each with their own set of attributes. How should I … | |
Hello there DaniWeb! I am currently trying to implement RtMidi into a project of mine, or i am actually currently trying to make the project, but it is highly in need of RtMidi to succeed. (Or just some other MIDI library, with MIDI I/O) When i try to initialize RtMidi … | |
Help!, I did some houekeeping in firefox and deleted all cache, history, cookies etc, and now when I try to go to Member Login, nothing happens. I notice that when I mouse over the 'Member Login ' link the status bar at the bottom of firefox shows `www.daniweb.com/#` I thought … | |
Hello Daniweb, I'm in the process of completely re-doing my home network. On my network I run three servers: * Server 1 - Web and Database Server * Server 2 - Backups and Other General Home Use * Server 3 - Development and Testing I have previously used Ubuntu Server, … | |
Hi guys. Feels great to post back on DaniWeb. Hope everyone is doing great! I am currently playing around with the google websearch api. They have a javascript example where they created a "hello world" page. https://developers.google.com/web-search/docs/ This code only returns 8 pages of each type of search. I was … | |
Note that documentation can be electronic, not necessarily paper. | |
This request arose from the discussion [OPINION: Who thinks MAKING A POST on these forums is horrible](http://www.daniweb.com/community-center/daniweb-community-feedback/threads/439477/opinion-who-thinks-making-a-post-on-these-forums-is-horrible). My comment on that thread was >If I am not logged in and I click on a link in my email, I am taken to that post. I can start typing a response … | |
Hi, I'm writing a simple program that runs a vending machine. I thought I had everything working fine untill I messed around with the money input some more. In my program I obviously compare money values and check to make sure the values match up exactly to buy an item. … | |
Am just editing a news story ([How to disable SIM-killing USSD PUK attack that has spread to all Androids](http://www.daniweb.com/software-development/mobile-development/news/436119/how-to-disable-sim-killing-ussd-puk-attack-that-has-spread-to-all-androids#post1873145)) and cannot upload accompanying image. Get the following: "A problem was encountered while attempting to move the uploaded file to the final destination." | |
# NOTE # This was a PHP sticky, and I am working to turn it into a development sticky. If you have any comments, additions or other observations, please reply to [this thread](https://www.daniweb.com/community-center/daniweb-community-feedback/threads/505442/read-this-before-posting-sticky). # Before you ask # - Read our [Forum Rules](https://www.daniweb.com/welcome/rules). - Engage your brain! We understand that … | |
There is an interesting project on KickStarter that is close to successfully funding. I'm not the owner of the project, but I'm backing it and would be disappointed to see it fail. Please see if you would like to participate: http://www.kickstarter.com/projects/Musopen/open-source-bug-tracking | |
computer startes up in the morning then shuts down ,then trys to start again after the third time it comes on ..goes great all day but when i am playing crysis ,for no reason it will will boot itself,,iam running intel i5 2320-at 3.00 ghz.. i have a nzxt phanton … | |
There was discussion thread http://www.daniweb.com/software-development/python/threads/424953/polynomial-division for class based implementation for polynomials, and I developed a version utilizing the magic methods to enable operation with normal arithmetic operation. I only inherited sequence structure from list type. Interoperability with scalar types is not implemented to avoid too complicated type checks of the … | |
This post is a followup to an older dicsussion [on recordmanaging](http://www.daniweb.com/software-development/python/code/429753/custom-named-tuples-for-record-storage). I am writing this to share with colleagues, so it may be a bit fluffy and not straight to the point. I apologize to all the experts. Good programs always start by managing data in a flexible and robust … | |
What, in your opinion, is the best route to becoming a network engineer these days? Here are some observations on why I am asking this: - Software Defined Networking: With SDN becoming supported by so many vendors and implementations by large companies, it seems that it is surely going to … | |
![]() | Been wondering why there's been so much necroposting recently - and not from your usual fly-byers or scum-spammers either. Could it be anything to do with the 'Related Article' above the editor? Having clicked on a few of these, it took me to articles at least 3 years old. Any … |
Don't know if this is the right place to ask, but I've tried for hours searching the web, so I gotta come back to a place I know. I would like to design some simple 2D scrolling game(s) for android and some apps/ games for toddlers. One(s) that I am … | |
Hi, There is a bug with the editor that I noticed and others noticed too. When you post a very long code segment (or maybe just a long post, period), at some point it seems to overflow the capacity of the editor and you can no longer scroll all the … | |
Following on from the news earlier this month that [LinkedIn had suffered a major security breach](http://www.daniweb.com/internet-marketing/social-media-and-web-communities/news/425019/linkedin-confirms-six-million-password-hack-check-if-yours-is-one-of-them) involving the compromise of at least six million user passwords, and then dating site [eHarmony apparently falling victim to the same password hacking compromise](http://www.daniweb.com/hardware-and-software/microsoft-windows/viruses-spyware-and-other-nasties/news/425118/dating-disaster-eharmony-confirms-passwords-exposed-by-linkedin-hacker), the latest to be hit would appear to be the … | |
Hi, I've been experiencing a weird bug in the editor (for a week or so). If I write a post, everything is fine and dandy until I start a block of code. From the first line of code that I write, and for every subsequent line of code after that, … | |
Does the human question disappear after you get enough posts or something because I don't see the human check anymore... | |
Was just searching, had 'pagination' in 'PHP forum'. Got plenty of results back, but when I added the filter to show only 'discussion threads', there were no results at all. | |
So I just discovered a crazy bug that has been keeping visitors of the Opera web browser from using DaniWeb. Apparently there's a problem with CodeIgniter's CSRF protection that makes it not work with Opera, and I'm unsure of why. It works perfectly fine with IE, Firefox, Chrome, etc. I … ![]() | |
As editor of the DaniWeb Community Newsletter, I always welcome your feedback as to what I could do better. So, if there's anything you don't like about it, here's your chance to get it off your chest. Likewise, please do let me know what you **do** like as well of … |
The End.