3,417 Topics

Member Avatar for
Member Avatar for Danny_3

I want to create a REST api using php for my website so that, my app can access the data stored in the database. I need for the user to be able to log in to the server through the app and i am unsure of how to implement this …

Member Avatar for phorce
0
454
Member Avatar for logicslab

Dear Friends, I am using Simple-REST Library for my REST Web service purpose . I need to integrate "OAuth2" with my REST API skeleton. I attached the REST - API Client & Server for your reference . Please check it and help me with a good solution for implementation. Thanks, …

Member Avatar for logicslab
0
370
Member Avatar for cwarn23

Hi, I was thinking of making a big website with an algorithm in place to decipher the multiple match pair chance of same hash occurance for long strings but the only problem is I need a database of hashes. A really big one at that. So does anybody know of …

0
119
Member Avatar for PF2G

Hi, I'm doing a page where the user is logged with facebook and when he buys something. when the process is completed it shares a default text in my facebook timeline. I can't find that API code, can someone help me? Here's what i have: <?php include('header.php'); ?> <body> <div …

Member Avatar for AARTI SHRIVAS
0
163
Member Avatar for kshahnazari

$link = "http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=90A1173C22358704FA80D2070D9C987C&steamids=76561198081118741" $file = file_get_contents($link); echo $link; echo $file; I have coded this php , when it runs the link and the file are echoed but the link is right (also I know its correct) but the file echo gives nothing , when I go to the link a …

Member Avatar for anthonydaly
0
146
Member Avatar for durgesh1

here is html and php code i like to pass video from my database to this via jquery on click action i try to do something like this but it fail jquery code `jQuery("#player").val(data["video"]);` <p> <label style="width:87px">Video:</label> <div id ="show_image2" style= ""> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="player" name="player" width="500" height="300"> <param name="movie" …

Member Avatar for durgesh1
0
320
Member Avatar for Meikell 'Kai'

So! I'm building a GUI for an application I'm currently developing and I'm having a bit of trouble figuring out an issue. I'll try to explain it as best as I can in the code lines. Basically, I built a class to handle the initial window for the program, but …

Member Avatar for Meikell 'Kai'
0
2K
Member Avatar for donelliewhyte

I want to work with the json below in andoroid, but I am getting an error in my app.I will be working extensively with the yummly api but the data i need resides in the matches array, but I am not sure what is the problem. I have also attahed …

Member Avatar for peter_budo
0
173
Member Avatar for invisiblevision

Hi there please help me , i want to integrate tinyimg with wysiwyg Editor , in Q2A script using tinyimg API thanks

Member Avatar for invisiblevision
0
119
Member Avatar for DiTeN

Hello friends, i am having a trouble, and the server is throwing me this: *Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: object hasn't 'Sdt_coleccionretornoitemsagrupacion' property in /var/www/sitios/webservices/Diego.php:129 Stack trace: #0 /var/www/sitios/webservices/Diego.php(129): SoapClient->__soapCall('Execute', Array) #1 {main} thrown in /var/www/sitios/webservices/Diego.php on line 129 * I have this code: echo 'SEGUNDO XML------------------------------' …

Member Avatar for DiTeN
0
306
Member Avatar for somjit{}

[Version 1](http://www.daniweb.com/software-development/java/threads/462737/generic-resizing-circular-array-.-do-i-need-to-implement-iterable-) had quite a few problems that i didnt think about. A lot of them were pointed out in the replies. I tried to correct them as best as i could to make this code. However , I'm having some doubts regarding what to do while implementing the Collection …

Member Avatar for somjit{}
0
297
Member Avatar for chetanbhasin

I recently tried compiling an example linked at Mongoose project's website using code::blocks and got certain errors. As I do not know where I went wrong I will list everything that I did in the process. 1. Created a new C++ console application project in Code::Blocks for Windows 2. Copy …

Member Avatar for Ancient Dragon
0
659
Member Avatar for Jazerix

Hey there I've been working on a little tool for the last few hours, first i got all my info raw from the site, then i found out there was an api for youtube (stupid me >_<) but after hours of trying i simply cant get it working [CODE]YouTubeRequestSettings settings …

Member Avatar for Sivakumar_1
0
284
Member Avatar for jackmaverick1

I've been working on a small API/Library and I realized that I was returning memory that wasn't going to be consistently put on the heap or stack. So my question is this: when I return an object from a function in a Library, should that object be on the heap? …

Member Avatar for mike_2000_17
0
246
Member Avatar for kevinyu

How to implement this kind of Google Map API like on this website http://dentist-map.jp/map as you can see, there is also a search bar then the markers. Since I am new to Google Map API, any outputs/feedbacks would be greatly appreciated. Do you think the locaations are stored in the …

Member Avatar for LastMitch
0
219
Member Avatar for Karry.Stewart

Hello, I`m seeking for an assistance in Payment Gateway integration to one of the web application which has already a paypal and needs replacing. The Integration Kit & API Documentation is available from Mobikwik wallet and where to start is what is confusing. They say in the instructions that simply …

Member Avatar for LastMitch
0
454
Member Avatar for Tobyjug2222

Hi there, Recently I've started using a client called Tribot which allows me to automate playing a game. The Client has been crashing (for example I was running 8 clients simultaniously last night) and one by one, they crashed over time and produced there error logs in the start-up directory …

Member Avatar for Tobyjug2222
0
1K
Member Avatar for Black_Lion

Hi All. I am using Microsoft Visual Web Developer 2010. I have embedded google maps into my webpage. I am using 4 textboxes: Street, City, Province and Postal Code. The user will enter these details then it will get put into a string variable like this `string location = street …

Member Avatar for Black_Lion
0
359
Member Avatar for Dani

I'm getting complaints today that the site, API, and chat room are all acting really sluggish and a bit funky. However, I'm not able to reproduce *anything* out of the ordinary. Can I get specific confirmation, please?

Member Avatar for happygeek
0
188
Member Avatar for cereal

Hello, I'm wondering if I can get help to understand the behaviour of a PHP function: `dns_get_record()`. This returns an array with DNS records for the given domain name, here is an example of the output: php > print_r(dns_get_record('php.net', DNS_TXT)); Array ( [0] => Array ( [host] => php.net [type] …

1
345
Member Avatar for MasterHacker110

I am writing a very simple boot and kernel in asm and c++. The thing is my development system is windows and I cannot use cpu interupts on windows, or can I? I dont think that my newly created kernel will be able to understand invoke ConsoleA or an of …

Member Avatar for Schol-R-LEA
0
204
Member Avatar for Q8iEnG

Dear fellas, I've been reading and trying to change to the new Twitter API for like three weeks now.. I gotta tell you, it is really confusing on how to use it.. I was running a website (search tweets using GeoLocation, Longitude and Latitude); I've been trying to fix it …

Member Avatar for cereal
0
195
Member Avatar for riahc3

stupidajax: function() { var varpas=$j('#somediv',window.parent.document).text(); varpas.replace(/\s/g, ""); $j.ajax({ // Start AJAX function url: 'mysqlcall.php', //script async: false, data: "parameter1="+varpas, //you can insert url argumnets here to pass to api.php //for example "id=5&parent=6" dataType: 'json', //data format success: function(data) //on recieve of reply { //start success function var selecthtml='Things: <select name="d" …

Member Avatar for riahc3
0
354
Member Avatar for jelly46

Since twitter retired API v1 in March 2013 it has seemed to affected the feed on my website. It has [of course] become quite hard to style the feed how i want. I have found some code that I have developed but I still can't adjust heights and widths. I …

Member Avatar for jelly46
0
301
Member Avatar for emir_gradacac

Hi everyone! I'm making a chrome extension that displays current page's url once clicked. I've got this so far: //manifest.json { // Required "name": "Marker", "version": "1.0.11", "manifest_version": 2, // Recommended "description": "The ultimate bookmarking tool", "icons": { "32": "icon.png" }, // Pick one (or none) // Add any of …

Member Avatar for emir_gradacac
0
2K
Member Avatar for JameB

Hi guys, I'm working on a side project for a friend and I'm looking for a C++ library that allows me to put bunch of paragraphs in a PDF format. Anyone know any good libraries that can do this as simply as possible? It will be just paragraphs and paragraphs …

Member Avatar for iamthwee
0
771
Member Avatar for Vish0203

Hi, I was working on an application but i'm stuck at a point now.. I'm able to send the chat messages but unable to receive any... I have two threads, 1 for sending message and another for receiving but receiving part isn't working! I think the problem is with multithreading! …

Member Avatar for Absaar
0
287
Member Avatar for cool_zephyr

I was trying to send an email using javaMail API using my own smtp server to gmail/hotmail/etc..I put the following code to specify smtp server's settings Properties props = new Properties(); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.host", "my smtp host"); props.put("mail.smtp.port", "my smtp host's port"); Session session = Session.getInstance(props, new javax.mail.Authenticator() { protected …

Member Avatar for cool_zephyr
0
280
Member Avatar for abhi10kumar

I am using Facebook, Twitter and Gmail APIs to login. I am getting **email, uid, provider, username** in **Gmail** & **Facebook** and **Provider, username, token, secret code for twitter**. But I want as much as user's details. Do they provide more information ? If yes then how I can get …

Member Avatar for pritaeas
0
142
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 mesbahuk

I am working on a Java to C# conversion project. In this project, my custom java library uses `java.net` packages [`DatagramPacket`](http://docs.oracle.com/javase/1.4.2/docs/api/java/net/DatagramPacket.html) and [`DatagramSocket`](http://docs.oracle.com/javase/1.4.2/docs/api/java/net/DatagramSocket.html) classes. Are there similar classes in .NET C# with similar functionalities?

Member Avatar for ddanbe
0
347
Member Avatar for Zezo_1

1- code when user send !q the bot send random of question for example : What is the most expensive metals in the world? A - Gold B - iron C - radium . if user send the true answer the bot choose him and write his name and ID …

Member Avatar for tinstaafl
0
237
Member Avatar for pauldespre

I want to write a script that logs an user into Facebook and initialize oauth dialog to get the access_token(*I don't want to log in into a website using facebook account!*). I don't want to use facebook-sdk,pyfb etc. This is what I've tried: import sys, urllib2,json,urlparse,webbrowser, os, cookielib, re class …

0
230
Member Avatar for mody1983

Hi, I want to program a SMS gateway site, which sends sms messages and provide API for using it.. I want to make a site like [url]http://www.clickatell.com[/url] ... Can any one helps me, I want some resources to start with, but I can't find anything useful yet, please I want …

Member Avatar for aruhat
0
533
Member Avatar for Dani

Maybe I'm just being dense, but I'm using [this documentation](https://developers.google.com/accounts/docs/OAuth2Login#sendauthrequest) to use Google OAuth 2 login. I'm able to successfully retrieve a JSON array that consists of the access_token, id_token, etc. The id_token is encrypted in what google calls a JWT (JSON Web Token). From what I understand, they're base …

Member Avatar for Dani
0
1K
Member Avatar for ckchaudhary

Hi guys, first of all i am new to php, so please bear with me. I have this requirement wherein i need to automatically create email accounts with my hosting provider through my website's php code. I have a linux hosting account with cpanel interface (its bluehost.com btw, if that …

Member Avatar for ckchaudhary
0
429
Member Avatar for MasterHacker110

I have been trying to start asm programming for a long time now. But having some problems. MY main system is windows so I cant use int and dont want to use the win32 api or call c functions. So I read that you get a x86 simulator. If I …

Member Avatar for rubberman
0
161
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 n.cramp

Ive actually managed to get DirectX 9 working with Direct X, however i am now getting odd error messages around a function. I can't see any syntax issues myself but thought i'd check to see if anyone can shed any light on it. `g_pd3dDevice->CreateVertexBuffer( 3 * sizeof(CUSTOMVERTEX) , 0, D3DFVF_CUSTOMVERTEX, …

Member Avatar for n.cramp
0
309
Member Avatar for clouds_n_things

So I wrote a cool little python script for terminal commands that I get sick of entering. Most of the script is explained in docstrings and comments. Looking for useful terminal commands or things I missed or could have done better. I'm actually quite proud of it. :) #!/usr/bin/env python …

Member Avatar for clouds_n_things
1
314
Member Avatar for JackticalNuke

I'm building a Phonegap app, and am using the Facebook Javascript API to log users in. My code is as follows: FB.login(function(response) { if (response.authResponse) { console.log('Welcome! Fetching your information.... '); FB.api('/me', function(response) { console.log('Good to see you, ' + response.name + '.'); }); } else { console.log('User cancelled login …

Member Avatar for LastMitch
0
100
Member Avatar for bishopu19

I have developed a project using API functions in vb6. But it is detected as virus .Is there is anyway to solve this problem.. thanks in advance

Member Avatar for Ancient Dragon
0
56
Member Avatar for designershiv

Hi, Can anyone tell me how to get instagram api for displaying images in website. Ex: instagram.com/miniusa //getting images of miniusa Thanks in advance

Member Avatar for designershiv
0
149
Member Avatar for oliverven.quilnet

I need help guys, are you familiar with the alchemy api? its a seo tool that runs on different platforms and what it does it extracts contents from web pages it uses the principle of content scraping. I downloaded the php SDK for alchemy api and i got an error …

Member Avatar for Dani
0
181
Member Avatar for Suzie999

A short while ago I was intrigued by a reply made by nullptr in [this thread](http://www.daniweb.com/software-development/cpp/threads/458583/shellexecuteex-api). So I began to look for ways to access the rest of IE (IWebBrowser2) interface, and met limited and varied success. Accessing for instance a <div></div> element in a wep page html document was …

Member Avatar for Suzie999
0
270
Member Avatar for Labdabeta

I have a program using old data for a game I play to indicate which pixels correspond to the health bar in my game. (my program just loops until a button is clicked and presses a key if the health bar drops too low). Unfortunately the health bar has moved …

Member Avatar for triumphost
0
800
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
685
Member Avatar for Tcll

[Click Here](hey there everyone... :) I need some help with an external runtime interface with PyQt... here's my current code: import API API.init() #show the Qt window _init_(depth) #(this module): print text to both the console and the Qt window (checking for updates to API) API.run(files) #take over the Qt …

0
137
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

The End.