401 Topics

Member Avatar for
Member Avatar for cambraydesign

I'm trying to change this soap response into php variables and failing! I am trying this like: $return = $response->DownloadDataByUserStringResult->UserId; But this doesn't work $options = array( 'soap_version'=>SOAP_1_1, 'exceptions'=>true, 'trace'=>1, 'cache_wsdl'=>WSDL_CACHE_NONE ); $client = new SoapClient('http://client.Service.asmx?WSDL', $options); } catch (Exception $e) { echo "<h2>Exception Error!</h2>"; echo $e->getMessage(); } $params = …

Member Avatar for cambraydesign
0
2K
Member Avatar for gogs85

Hi i get all information what i need but i dont know how to get facebook profile image and save to file and in mysql save path. Here is my code for call fb api : <?php session_start(); include_once("config.php"); // facebook id include_once("includes/functions.php"); //destroy facebook session if user clicks reset …

Member Avatar for cereal
0
362
Member Avatar for lithium112

I've been reading up on best practices for securely storing clientids and clientsecrets: http://www.asp.net/identity/overview/features-api/best-practices-for-deploying-passwords-and-other-sensitive-data-to-aspnet-and-azure I have created a secret.config file and stored my secrets in there and have put a reference to the file in <appSettings file="..\..\secrets.config"> I am using app.UseGoogleAuthentication(new GoogleOAuth2AuthenticationOptions() { ClientId = "", ClientSecret = "" }); …

0
112
Member Avatar for Tinnin

Hi All, I'm trying to implement an experian bank account checking facility on the systems at work. I'm trying to do this using php and Soap. This is my first time using Soap so I'm not entirely sure if I'm doing it correct. Here is my code: <?php $options = …

Member Avatar for Nicolás
0
7K
Member Avatar for praba_web

Hi there, I have a login form.which contains two input parameters. login_id and password. login_id may be mobile or email. user may use mobile no or email as login id. my table structure is uid email mobile password status when i login through mobile no it is validating and showing …

Member Avatar for diafol
0
454
Member Avatar for hwoarang69

I need some help created a google weather api using vb .net. I found the code online and there are no errors. Problem is that I can't seem to display wether information. Nothing shows up on screen and I am not sure what I did wrong. any ideas? Imports System.Net …

Member Avatar for tinstaafl
0
534
Member Avatar for ravi142

Hello, I am used Wordpress-seo plugin by Yoast. When i share [article](http://gititsolution.com/angularjs-development) on facebook not allow me to share feature image. also check in [facebook degub](https://developers.facebook.com/tools/debug/) but not given solution. also ![attach](/attachments/large/4/19c2d2575845be8c218402bed55c6612.png "align-center") screenshot Suggest me solution. Thanks.

1
203
Member Avatar for William Hemsworth

Quite a while ago, I made [URL="http://www.daniweb.com/code/snippet217147.html"][B]this[/B][/URL] snippet. This code is basically the same, except that it adds animation. This method of blitting is very fast assuming you don't use a surface that's too large. On a 500 x 500 surface, I managed 350fps using only 0-1% of the cpu. …

Member Avatar for thetukiet
1
7K
Member Avatar for gcardonav

Hey everyone, First of all I am a one-week self taught when it comes to web service so pardon if this is a duh! question. I was given a sample Web Service and aske dto re-create it a new one from scratch. I have been able to understand and apply …

Member Avatar for tobyITguy
0
279
Member Avatar for sankubha

Now am using substance look and feel version 5.3.I want to upgrade the it to latest version 7.2.1. I need to know what is the new features in new version and difference between 5.3 and 7.2.1.why we need to prefer the new version.

Member Avatar for Schol-R-LEA
0
351
Member Avatar for donz365

Hi, I am working on a wbsite for a training centre. I am querying a web service for the list of their courses. There are three parametres in the query: centre, coursetype and courselocation. When querying it directly or using SoapUI it can be queried using 1, 2, 3 or …

Member Avatar for donz365
0
928
Member Avatar for Prince_9

How can I convert this Ruby Gem to PHP? token = "your_nypl_api_token" client = NyplRepo::Client.new(token) ``` ``` token = "your_nypl_api_token" options = {:debug => true, :server_url => "http://api.repo.nypl.org/api/v1"} client = client = NyplRepo::Client.new(token, options) Also url = "http://api.repo.nypl.org/api/v1/items/8568ccd0-c614-012f-1d74-58d385a7bc34.xml" uri = URI.parse(url) http = Net::HTTP.new(uri.host, uri.port) headers = { "Authorization" => …

Member Avatar for cereal
0
770
Member Avatar for ravi142

Hello I getting current user friends list by php api of facebook. can you suggest me what is missing.[LINK](https://github.com/facebook/facebook-php-sdk) <?php require 'facebook.php'; $facebook = new Facebook(array( 'appId' => 'removed', 'secret' => 'removed', )); if($facebook->getUser() == 0){ $login = $facebook->getLoginUrl(); echo "<a href= '$login'>Login with Facebook</a>"; } else{ $user_profile = $facebook->api('/me'); …

Member Avatar for Itirk
0
2K
Member Avatar for showman13

Good Morning All, I've worn myself out looking for the solution to integrating MailChimp APIs into my PHP scripts. Is there anyone in here that is familiar with doing that? I have the simple part done, where people can subscribe to a Newsletter to get more info, in which case …

Member Avatar for showman13
0
711
Member Avatar for sam230

http://api.ean.com/ean-services/rs/hotel/v3/list?minorRev=4&cid=55505&apiKey=5q4gzx43g6ukcrq798z2hz75&customerSessionId=&locale=en_US&currencyCode=USD&xml=<HotelListRequest><city>new%20delhi</city><RoomGroup><Room><numberOfAdults>2</numberOfAdults><numberOfResults></numberOfResults></Room></RoomGroup></HotelListRequest> when i call api directly to browser i got right data in xml format. but when i call it through curl.. sometime i get data in json format or sometimes no data.. [CODE] $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"http://api.ean.com/ean-services/rs/hotel/v3/list?minorRev=4&cid=55505&apiKey=5q4gzx43g6ukcrq798z2hz75&customerSessionId=&locale=en_US&currencyCode=USD&xml=<HotelListRequest><city>new%20delhi</city><RoomGroup><Room><numberOfAdults>2</numberOfAdults><numberOfResults></numberOfResults></Room></RoomGroup></HotelListRequest>"); curl_setopt($ch, CURLOPT_FAILONERROR,1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_TIMEOUT, 15); $retValue = …

Member Avatar for Terrymol
0
926
Member Avatar for Prince_9

I am able to view content displayed from the API but i'm not able to extract the various contents. my codes are below: function parseInfo($barcode) { $url = "https://archive.org/advancedsearch.php?q=$barcode+AND+licenseurl:[http://creativecommons.org/a+TO+http://creativecommons.org/z]&fl[]=identifier,title,mediatype,collection&rows=15&output=json&callback=IAE.search_hits"; $contents = file_get_contents($url); // $json = json_decode($contents, true); return $contents; } echo $array = parseInfo($barcode); //var_dump($json); for ($i = 0; $i …

Member Avatar for Prince_9
0
227
Member Avatar for M.Waqas Aslam

Dear All, I am not clear that where to ask this question so i am starting this thread here. In my country youtube is banned by the Govt. I want to create the website same as playit.pk. I dont know how this site is working are they using any proxy …

0
195
Member Avatar for durrat

I am using Eclipse helios and Android 4.1.2 i have followed the following documentation https://docs.google.com/document/pub?id=19nQzvKP-CVLd7_VrpwnHfl-AE9fjbJySowONZZtNHzw and done the coding exactly as described in tutorial.when i run my app on emulator it shows "This app wont run unless you update google play services" but on real device which is sony xperia …

Member Avatar for Dhiru_1
0
2K
Member Avatar for Tinnin

Hi All, I'm trying to convert a .p12 file to a .pem using php (because, as I understand it, soap needs to take a .pem format certificate) Am I going about it the right way? $certificate = array(); $pkcs12 = file_get_contents('certificate.p12'); if (openssl_pkcs12_read($pkcs12, $certificate, 'pass')) { if (isset($certificate['pkey'])) { $pem …

Member Avatar for gulshanmaurya
0
2K
Member Avatar for lokmani

Hello, my web api is not working on chrome, but working on IE a open appears at bottom contains .json files . i have all the data on it. can you check my code whats the error? public class DataController : ApiController { [Route("dataapi/category")] [HttpGet] public IEnumerable<vendor_category> Category() { return …

Member Avatar for djjeavons
0
685
Member Avatar for null_pointer

I have been told to do a novice-level project on webservices. I surfed for a while to reach something called Microsoft SOAP development kit. I think it will be really helpful if somebody helps me figure out the theme for my project. Is it OK for a beginner to work …

Member Avatar for donz365
0
339
Member Avatar for ben.juarez.773

Hello, I'm working on a small project to acquire information from regulations.gov using their API. It's fairly simple (codewise) what I'm trying to do. However, I get stuck with a "HTTP error 403: Forbidden". It means I'm connecting, but something seems to be the matter. I've been in contact with …

Member Avatar for richieking
0
527
Member Avatar for mjbor1

i developing a poster software, when i'm trying to post a link it give the following exception facebook api exception #100-invalid here's my code public static bool post(string accesstoken,string status,string link) { try { FacebookClient fb = new FacebookClient(accesstoken); Dictionary<string, object> postArgs = new Dictionary<string, object>(); postArgs["message"] = status; if …

Member Avatar for mjbor1
0
1K
Member Avatar for razamughal67

We add a Default Tweet Button API on my site. it's work perfect and load new window and send the tweet. but i want to get the value of the tweet count id. or if anybody click on the tweet button and submit a tweet . then my page show …

Member Avatar for razamughal67
0
388
Member Avatar for accra

I have a gps sending data to mysql db, but am having hard time ploting the values on google map. My javascript skills are not very good, pls help... javascript code <?php $server = "localhost"; $username = "root"; $database = ""; $password = ""; $conn = mysql_connect($server,$username,$password); mysql_select_db($database) or die("Unable …

Member Avatar for Masterblank
0
2K
Member Avatar for grakovski

Link for API: [Click Here](http://api.uptimerobot.com/getMonitors?apiKey=u118216-ae6b502f1b3f6d272d0f9437&logs=1&alertContacts=1&responseTimes=1&responseTimesAverage=180&format=json) I want to get datetime and type parameters i try to but i get: Notice: Trying to get property of non-object Here is my try t $api_key = "apikey here"; $server = "http://api.uptimerobot.com/getMonitors?apiKey=$api_key&logs=1&alertContacts=1&responseTimes=1&responseTimesAverage=180&format=json"; $server2 = file_get_contents($server); $obj = @json_decode($server2); $cc = $alert->datetime; echo $cc; its …

Member Avatar for Isaac_4
0
387
Member Avatar for emmas4impact

Hello guys, I have the project to build an Automative Leads. The process flow for this scoring engine needs to be as: SOAP webservice will advertise a "SCoreLead" function that requires an ADF lead to be passed to it. any idea will be appreciated Thanks

Member Avatar for emmas4impact
0
225
Member Avatar for ravi142

Hello, I am New about **API Connection** in PHP So i need help for the How to connect and get **Facebook Friends**. Thank You.

Member Avatar for pritaeas
0
261
Member Avatar for accra

Hi, am interfacing gps tracker TK106 with our online platform. The data we get from gps device is in this format (06667778889-9BP05000066677788899140815A0533.8206N00009.7045W000.0165936157.6200000000-L0000F51C) Instractions form [this site](http://sourceforge.net/p/opengts/patches/1/) explains the variours data sets in the string above, for example the first 11 digits 06667778889 is the device's programmable ID ,used in placed …

Member Avatar for accra
0
794
Member Avatar for Thermalnuke

Hey gys just started up a wordpress website for a club i am doing at school that deals with crypto currency. we currently have a couple of miners that are mining litecoins and bitcoins. on the wordpress site im looking to display the miner information through API calls through a …

Member Avatar for cilla
0
251
Member Avatar for accra

Hi, i found this code [online](http://www.macrostash.com/2011/09/17/demo-use-a-php-mysql-database-to-load-markers-on-a-google-map/#comment-2675). After installing and running code on my website, the screen shows nothing back, though code is firmly in place. <script type='text/javascript' src='jquery-1.6.2.min.js'></script> <script type='text/javascript' src='jquery-ui-1.8.14.custom.min.js'></script> <style> BODY {font-family : Verdana,Arial,Helvetica,sans-serif; color: #000000; font-size : 13px ; } #map_canvas { width:100%; height: 100%; z-index: 0; …

Member Avatar for accra
0
433
Member Avatar for munchlaxxx

This is what I was trying to do: The user enters an address, which is autocompleted by Google. Then when they press the submit button, an alert box pops up, telling them whether the address entered is within 5 miles of (42.352487, -71.079290). Then a confirm box pops up asking …

Member Avatar for AleMonteiro
0
1K
Member Avatar for Tinnin

Hi All, I'm trying to display a postal area on Google Maps API within it's boundaries. I want to do this dynamically so that everytime someone changes the text in a text field (entering a postcode or part of), it checks the postcode and calculates the boundaries then displays them. …

Member Avatar for Tinnin
0
9K
Member Avatar for arafath077

HI .Im devoloping a new website.can i integrate google analtics api to my Website Dashboard to show bounce rate and page visit result or summary.?

Member Avatar for cereal
0
119
Member Avatar for azapovjednik

Hello, I got an assignement: to validate a google oauth2 access token using email address.... What is the simplest way of doing it? Can anyone give me some hint? I am desperate here... trying to figure it out.. but I cannot find anything understandable... So far, I discovered how to …

0
149
Member Avatar for sankubha

Am developing a c programming which contains windows.h header file and GetWindowText api functions.Now i want to run it in linux.Is there is any api in linux or is there is any possiblity to run the c programming on linux.

Member Avatar for Ancient Dragon
0
461
Member Avatar for Yorkiebar14

Hello, I am trying to create a simple application for personal use for Twitter marketing. This is my first time trying to interact with REST APIs through VB and I have been going around and round getting various different errors. Here is my current code and I get a '401 …

0
247
Member Avatar for vgkarthi

Hi techies, I am new to webservices. The issue is regarding a SOAP request. The request contains a comment which has the charechter as "&" example., the comment is: You & me & is getting converted to "&amp;" in the receiver side. We tried getting the SOAP request (from our …

Member Avatar for vgkarthi
0
417
Member Avatar for wa0h@arrl.net

i wrote a (visual basic.net-2008) desktop app that allows ham radio operators to enter a call, such as WA0H, and the program gives the ham's location (springfield, mo.). you can download the program free from my website .. www.wa0h.com i want the program to display the ham's location on a …

Member Avatar for deletedaccount
0
924
Member Avatar for kannan mangalar

if (!empty($_POST['twitnam'])) { $message = $_POST['message']; $TwitterUsername = $_POST['twitnam']; $tw_sql = mysqli_query($connection, "SELECT oauth_token,oauth_token_secret FROM TwitterUpdate WHERE uname='$TwitterUsername'"); $row = mysqli_fetch_array($tw_sql, MYSQLI_ASSOC); $oauth_token = $row["oauth_token"]; $oauth_token_secret = $row["oauth_token_secret"]; if (strlen($oauth_token) > 0 && strlen($oauth_token_secret) > 0) { $Twitter = new EpiTwitter($consumer_key, $consumer_secret); $Twitter->setToken($oauth_token, $oauth_token_secret); $status = $Twitter->post_statusesUpdate(array('status' => $message)); echo …

Member Avatar for almostbob
0
753
Member Avatar for tibormarias

Dear Readers! I would like to ask your kind help about showing just the selected markers in Google Maps API V3. I have a HTML select -> <select onchange="appartments()" id="selectField"> <option value="appartment1">Choose one appartment...</option> <option value="appartment2">1052 Budapest, Galamb u. 3.</option> <option value="appartment3">1052 Budapest, Régi posta u. 11.</option> <option value="appartment4">1052 Budapest, …

0
170
Member Avatar for Lee_7

Hi, I'm trying to working with the Tripletex API. Also see our topic : http://www.daniweb.com/web-development/php/threads/444996/tripletex-with-php When i tried log in, It's ok. and response an array. But the problem is : in the header of this response, i can not see any cookie, session about my log in. So i …

Member Avatar for Lee_7
0
170
Member Avatar for extjac

Hello. I am trying to implement a Laravel API that will be consumed by different clients (domains). The API basically, sends json response to the clients. For instance, when the client app.anyclient.com sends a AJAX/post request to api.myapi.com/login …the API is able to validate and login the user; however, the …

0
114
Member Avatar for Tinnin

Hi All, Similar problem to my previous post. I've made some progress and managed to get it working on my localhost but on the host server it still flops. I have been told to save the wsdl to file and access it from the file. However, I am not familiar …

Member Avatar for Tinnin
0
497
Member Avatar for jalpesh_007

Dear all, I am developing SOAP web service using netbeans. As i have got preferred SOAP request and SOAP response,now i want to add security information like username and/or password in my SOAP header Request. Please tell me how can i modify or add username in my SOAP header Request …

0
266
Member Avatar for Tinnin
Member Avatar for Yorkiebar14

Hello, I have created basic web APIs before for simple, publicly avaiable data using simple PHP Get statements. But I'm wondering how I can create a more secure API where the API call can send private data without it being available as easily as the PHP get statement is. To …

Member Avatar for pritaeas
0
231
Member Avatar for punith_1

I have a form at http://www.sledor.talk4fun.net/results/results.html which shows results if a proper roll number is entered... the results are fetched from http://results.vtu.ac.in site and only the table is shown... now i want to add the data of the table to my database using php. Is there a way to do …

0
113
Member Avatar for Ferd12324445

I'm creating multiple custom info windows using only one xml layout, all of the info inside the window will be put In programmatically. I am now trying to give the ImageView an image but when I do that for one marker all of the other markers ImageView images become the …

Member Avatar for raj.mscking
0
342
Member Avatar for Hari1981

Helo friends i am trying to use the XML file to send data to api but i am getting a error due to & character used in link Where (XXXXXXXX&apiToken=XXXXXXXX&payload=) But If I Copy past the link in url bar it is working fine below is the example and i …

Member Avatar for AndrisP
0
196

The End.