3,417 Topics

Member Avatar for
Member Avatar for nagendraveer

Actually iam a new PHP Learner, i developed an web app using Bootstrap, PHP, Mysql. Now i want to give login access for gmail id's which are already existed in my database, so i used login with google API, but want deny login access for any other gmails which are …

Member Avatar for Dani
1
1K
Member Avatar for bprosic

This code works but I don't know how to dismantle this "sausage" code. async function showAllFilters(qry, arrayParams) { // params is [] let result; try { result = await db.query(qry, arrayParams); } catch (error) { console.log("showAllFilters error: "); console.error(error); } return result; } router.get('/', function (req, res) { // localhost:5000/api/filter …

Member Avatar for maxhowells7
0
300
Member Avatar for jeffmylife

# Introduction # This tutorial provides guidance on gathering data through web-scraping. However, to demonstrate the real-life issues with acquiring data, a deep-dive into a specific, complicated example is needed. The problem chosen, acquiring the geographic coordinates of gas stations in a region, turns into an interesting math problem that, …

Member Avatar for OfeliaPoore
2
3K
Member Avatar for umadas

Hi all I need help to read outlook pst file from java.My pst file is stored in local hard disk.Now i want my java program to read that pst file.Kindly provide some inputs so as to proceed to the solution for the said problem.Can i do this through javamail api? …

Member Avatar for Vladan
0
3K
Member Avatar for Rajeswari_1

is there any one works with facebook PHP SDK to boosting post?we are testing the marketing api to implement on our site for do post and boost that. so we created the sandbox account and tested the file and got campaign, ad set,creative and ad id successfully. but cant able …

Member Avatar for rproffitt
0
143
Member Avatar for n00b321

With this php code, I send a request for payment with Paypal sandbox account. However when I go to the submit page I cant see what amount I am paying: https://i.imgur.com/iTra1SQ.png -> here in the red shoulld be displayed - 10.00(amountPayable). How can I send it so it's showed? use …

Member Avatar for AndreRet
0
1K
Member Avatar for Muktesh_1

Newbie here, Final year student of Electronics, I am learning python and want to move in the direction of web development! sounds quite strange to the filed i am in. i have been geting interested in working with API's and learning frontend using tkinter in python. Thanks!

Member Avatar for Dani
0
203
Member Avatar for crazyvonzipper

Hi guys. I have two servers: 1. Client Facing Production Server 2. API Server. The Client facing sever (Server1) sends requests to the API Server (Server2). Server2 is hosted with one staric IP address and is accessible through three domain names, e.g. **www.domain1.com**, **domain1.com**, **test.domain2.com**. Often times the Server1 seems …

0
191
Member Avatar for Squidge

hi everyone. been a while since i have been on here, alot has changed. I am in the middle of amending/adding features to an installer using python. I have the dropbox API (for business) set up and working, upload and downloading without issue. The potential issue i see is during …

Member Avatar for rproffitt
0
1K
Member Avatar for Gloak

I have been trying to get Lat Lng from this code using the same call to Google Geocoding API, but I have not found a way. Any suggestion would be greatly appreciated! /*! * geotext v1.0 * * https://github.com/Frizzled/geotext * * Copyright (c) 2014 Vladimir Loscutoff * Released under the …

Member Avatar for Gloak
0
1K
Member Avatar for sanjay.vaniya

DataSet ds = new DataSet(); string pattern = @"(</?)(\w+:)"; //[XMLText] is a string variable containing XML downloaded from a WebServices API. StringReader sr = new StringReader(Regex.Replace(XMLText, pattern, "$1")); ds.ReadXml(sr); return ds;

-1
300
Member Avatar for ok

Halli Hallo i hope im at the right Place. I want to get started with API-Gateway(s). Currently im running 5 Microservices written in Java (Spring-Boot) deployed via Docker. Each Microservices is protected via Keycloak. I want to use a API-Gateway so that i can combine every MS into 1 Link: …

Member Avatar for Dhiraj_4
2
8K
Member Avatar for Dani

We have a Swagger file for our API, but in our API documentation, we want to show valid responses for each endpoint. I coded up this little recursive function in PHP which takes our Swagger file and spits out a valid response. I use it as follows, for each individual …

0
2K
Member Avatar for amvx86

Hey everyone, I'm looking to add a block / function within a C++ application that will search for open windows. For instance, wordpad and notepad. If either are open perform an action. I'm doing this within win32 API but my question is this. If I create something as such, this …

Member Avatar for rproffitt
0
614
Member Avatar for Dani

I'm looking for some alternatives to Swagger UI that I can use with my API's swagger file to generate our official documentation. So far I've been looking at Apiary and ReDoc. Does anyone have any favorites? Which are the most intuitive for api documentation? Ideally I'd be looking for one …

Member Avatar for pankaj_patel
0
3K
Member Avatar for pcmic

I have a Dell and I'm running 8.1. I can't download or upgrade anything. After a couple of days my email wont work and the internet slows down to a standstill. I usually restart my computer and it wont start. I keep hitting the reset button for about 15 minutes …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Mara_2

I want to add capcha to Mobirise builder's form. When I'm adding the code below, formd doesn't send any messages after that. What should I do? May be someone have solved this issue. <head> <script src="https://www.google.com/reCAPTCHA/api.js" async defer></script> </head> <body> <form action="?" method="POST"> <div class="g-reCAPTCHA" data-sitekey="your_site_key"></div> <br/> <input type="submit" value="Submit"> …

0
292
Member Avatar for B_3

Hi, I am using node and refactoring an older database. Therefore, i want to ensure i incorporate correct practices from the start. I know that this is a debated topic and that there is not nessecarily a correct answer but i want to see what people have to say about …

Member Avatar for Dani
1
2K
Member Avatar for ajSauro

Suppose that I construct my own programming language and my own compiler (for windows), I am free to use WINAPI like "CreateWindowEx"?

Member Avatar for rproffitt
0
150
Member Avatar for Dani

As Google+ is being deprecated, I need to migrate my Oauth 2 off of Google+ and into the Google Sign-In authentication system. So far, I changed the list of scopes from `https://www.googleapis.com/auth/plus.login email` to `profile email`. However, I'm struggling trying to find in Google's docs what to change the endpoint …

Member Avatar for Dani
0
4K
Member Avatar for Awilum

**HELLO GUYS!** I'm Sergey Romanenko a web-developer with strong will for learning and researching new technologies and architectural solutions. I like creating and using specialised tools for making development processes as efficient as possible. Let me introduce my pet project - Flextype! Flextype is Open Source, fast and flexible file-based …

1
1K
Member Avatar for zelrick

Hello Daniweb Family, I am trying to create something like a "Earthnull" look alike. I am not good in coding and try to find something that can help me to start on. I found something very similar on what will be the target output. HTML: <!DOCTYPE html> <html lang="en"> <head> …

0
407
Member Avatar for JosephMooryes

Guys this question is continual. however i found the answer virtually however still cant compass. i dont shrewdness to resolve it. thats why i announce it as new question iam operating with a project. iam exploitation native-validations-master downloaded it from internet. this is the link for that: https://www.cssscript.com/custom-html5-form-validator-native-validations/ It conjointly …

0
271
Member Avatar for Evans_1

I need API (Java) to connect to Google Playstore to be able to download apps. Just as [www.apkpure.com](http://www.apkpure.com) and others, but l need to connect from my application. Can somebody help me. Thanks

Member Avatar for rproffitt
-1
224
Member Avatar for Addison111

I have some problems when working with Win32 api. 1. Changing the text and background color of a button doesn't take effect. My code: case WM_CTLCOLORBTN: COLORREF colorref; colorref = RGB(0,0,255); HBRUSH hBrushBtn; hBrushBtn = CreateSolidBrush(colorref); return ((LRESULT)hBrushBtn); break; 2. How do I create selectable text. My code: text = …

Member Avatar for tinstaafl
0
315
Member Avatar for Rohan_9

I am Working on Xcode 9.2 Swift 4.0 using FacebookSDKs-iOS-20160316 for Facebook Login Authentication Integration . My storyboard is empty . On Running Facebook Login button is coming on an app When clicked Facebook login page comes, after successful login Permission for my app is asked, When allowed following page …

0
307
Member Avatar for SimonIoa

Hello i am using authservice to call my MySql database with PHP api and therefore my php functions for my Ionic 3 Angular 4 app. This is how i call to get userData and it works fine import { AuthService } from "../../providers/auth-service"; public authService: AuthService, private loadingCtrl: LoadingController ) …

Member Avatar for SimonIoa
0
667
Member Avatar for John_165

The API docs are now found at [ Java Development Kit Version 11 API Specification](https://docs.oracle.com/en/java/javase/11/docs/api/)

Member Avatar for JamesCherrill
0
2K
Member Avatar for seularts

I have a very standard code where I use a CRUD interface on my Database. The issue is that every attempt I made to redraw/update the table with the new data [ $('.table').DataTable().draw(); ] has failed miserably. Here is my targeted code: function manageData(key) { var name = $("#countryName"); var …

0
562
Member Avatar for Darius_1

Hey guys, I'm searching for free sports data api or sports data widgets for a website that is gonna be starter level. I did my research and found some options but I need more alternatives. Some providers like Opta or Sportradar offers a lot as sports widgets but they give …

1
489
Member Avatar for Xhino_1

Hello i'm to make a vacations script calculator <div id="content"> <form class="form-container"> <input class="emri" type="text" placeholder="Name"> <input class="mbiemri" type="text" placeholder="Last Name"> <input class="Vendosni-Datelindjen" type="text" placeholder="Birthday"> <select class="drop-down-select"> <option selected="selected" value="Select Zone">Select Zone</option> <option value="Zone A">Zone A</option> <option value="Zone B">Zone B</option> </select> <select class="drop-down-select"> <option selected="selected" value="Nr of persons">Nr of persons</option> …

Member Avatar for alan.davies
0
371
Member Avatar for Victor_20

1) What I'm trying to do: Uploading a file with aws s3 and then taking the filename and filetype and placing it at the end of the url to save it in sql so that every time the person logs in, it will pull the picture up by user image …

0
197
Member Avatar for lancelot_1

import requests.packages.urllib3 requests.packages.urllib3.disable_warnings() from flask import Flask from flask import request import requests from requests_toolbelt import MultipartEncoder import requests app = Flask(__name__) import requests import json from datetime import datetime botEmail = "" # botun email adresi accessToken = "" # Botun access tokeni host = "https://api.ciscospark.com/v1/" # CISCO Spark …

Member Avatar for rproffitt
0
331
Member Avatar for FarrisFahad

I send payments to my users regularly. But sometimes the user enter a PayPal email address that cannot receive money from other PayPal users. They just can receive money from their website. How can I check for this and show an error to the user? Do I need to use …

0
401
Member Avatar for Robert_79

Hello I am trying to create chaper links for my Vimeo videos on my site. I have managed to get a script working with direct links but cannot get it to work with a drop-down menu. Here is my code: <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.js"></script> <script src="https://f.vimeocdn.com/js/froogaloop2.min.js"></script> <script> $(window).load(function(){ var link_1_track = 26; …

Member Avatar for JamesCherrill
0
384
Member Avatar for Addison111

I'm trying to build a client and a server in the same program. For example, user 1 sends a packet of data to user 2, user 2 after receiving the packet sends back a different packet to user 1. The problem is, after running the program neither user receives the …

Member Avatar for kevenm
0
933
Member Avatar for kamilacbe

Hi , i have a collection of html element to render the output , and i wanna change element tag for eg h2 tag to h4 and then send to the render output markup in react js . I can do them in jquery but wanna try in reactjs .some …

Member Avatar for rproffitt
0
4K
Member Avatar for baig772

I am using `passport` in `laravel` for authenticating my users in APIs. I am able to authenticate different types of users from different tables and generating different token for them but the routes are not protected. For example. A user can access the routes like this Route::group(['middleware' => 'auth:api'], function …

Member Avatar for PARDEEP_2
0
983
Member Avatar for overwraith

I had a cool idea concerning threading in C#. I was reading a book called "CLR via C#" and it was discussing threading, and how people should seldom use actual thread objects, and instead should use the thread pooling services. The reason being they spool up worker threads for you …

Member Avatar for rproffitt
0
352
Member Avatar for Sergi_1

I am looking for an API that will be easy to use, also allows me view reports of sended SMS, that also has documentation and examples to how manage it.

Member Avatar for Tran_10
0
303
Member Avatar for overwraith

Does anybody know whether System.Data.SqlLite has the capability to do a Change notification callback when one of it's tables is changed? I know that Python can do it by calling the C api, but This is kind of beyond me. I know I have done this before on an oracle …

Member Avatar for overwraith
0
963
Member Avatar for Publitio

Hello, I would like to introduce myself and share a bit of information about the new API we are developing. The product was just launched in February and is in the beginning phase. I would highly appreciate any kind of comment or advice when it comes to improving the development …

Member Avatar for Bivhab
0
916
Member Avatar for Saboor880

I have to print some text to printer. I needed to translate that text in Urdu language also. For that I used google translation API and all was set. But I am facing problem in order of output. // this is the code which is giving my desired output String …

Member Avatar for JamesCherrill
0
446
Member Avatar for pardeep3dec

Dear Experts, I want to develop a application that send sms on any mobile. if any one done this project then kindly give some important consideration for developing this application. Best Regards, Pardeep

Member Avatar for Tran_10
0
530
Member Avatar for davy_yg

Hello, I am testing the instagram api. And trying to figure out way to get the token. It shows in this video: https://www.youtube.com/watch?v=fGMk8daxF08 By click the client ID twice it will shows me the get token form. Yet, this is not in my case. I cannot click the client ID …

0
226
Member Avatar for Stefce

Is this something which is updated to different method or am i doing something wrong? I want to get my current location on Google Maps what am doing right now is as follows. Creating GoogleMaps Activity, Download GooglePlay Services from Android SDK Manager, Giving Permissions in AndroidManifest for Internet and …

Member Avatar for Daniel_87
0
512
Member Avatar for SimonIoa

Hello i want to pass the user id (uid) from the home page to a user Details Page. Because i display multiple users on my home page i don’t wan to pass the user session id (as given by the `JSON.parse(localStorage.getItem("userData"));` ), i want to click on the name of …

0
588
Member Avatar for asit_1

We are developing a travel app project to facilitate customized travel experience. Where traveller can plan its trip by selecting various facilities like ATM, Restaurants, attraction points while traveling from an origin to destination. Facilities coordinates across India has been stored in our database as prerequisite. I am looking for …

Member Avatar for Schol-R-LEA
0
367
Member Avatar for Sebastiano

Hi all, I'm trying to make a Facebook login for a website, which also stores users' data who log in. In order to do this, I do have an index.php <script> // This is called with the results from from FB.getLoginStatus(). function statusChangeCallback(response) { console.log('statusChangeCallback'); console.log(response); // The response object …

Member Avatar for Sebastiano
0
978
Member Avatar for Smith5646

I have written a REST API using C# that runs on my server. When it is started, I want to preload some data from the database based on the organization that has purchased it (name, address, etc). However, I can't seem to figure out the name of the initial program …

Member Avatar for KushMishra
0
431

The End.