Hello everyone I am developing a website that provides unlock code to mobile user who request. but i am new in druv api so please can anyone provide a documentation or guide to use it.some error are listed below,
i am using dhru unlocking API for unlock mobile but getting error when going to place imei order by using curl.
error is.
{"ID":"1234","IMEI":"111111111111119","ERROR":[{"MESSAGE":"ValidationError123","FULL_DESCRIPTION":"Service Not Active"}],"apiversion":"3.1"}
Realize this is a bit old, but it will probably help someone I'm sure. Here's the link to the api stuff http://kb.dhru.com/Dhru_Fusion/Developer_Resources
Also, I found it by googling "dhru fusion api" wasn't all that hard to find lol probably why this topic never got answered.
Related
I am trying to publish my shopify application to shopify store,but i don't have any idea that which changes i have to do in code in php for make it perfect like api key,secrate key,access tokens and etc.If anyone knows about that please help me to fix it.
I read shopify blogs and another blogs about shopify app publishing,but i can't get code demo in php or tiny samples of it,so i am little confused about it.If anyone have idea that how to solve it or how to code about api and secret keys mention your answer below. Thank you in advance...
Shopify doesn't care what technology and code patterns you have used. Even using Shopify's template doesn't guarantee that your app is fine. Each app is different. Shopify will run automatic tests on your app which check if everything is fine. If not, you will get feedback that will tell you which parts you need to fix. You can read about app submission here: https://shopify.dev/apps/store/review/app-submission
I am currently working on the development on a website for a client, and they want to display their Google Reviews in the footer. I am using PHP client libraries to so, and I've created OAuth2.0 credentials to access the API.
From the Google APIs documentation I see that I need to use the "Google My Business v4.9" API to do so, in order to use the accounts.locations.reviews. See the following screenshot to know the one I want to use :
The problem is when I want to activate this API on my Google Cloud projet, I can find all the Google My Business API, but not the "v4.9" (I've tryied searching for "my business", "google my business", "v4.9", etc... but I still can't find it. Here is what I get :
I've tried accessing the service without activating any API, thinking that maybe the v4.9 API was maybe activated by default, but I get 403 error saying "SERVICE NOT ENABLED".
Has anyone encountered this problem, and do you know which API to call ? any piece of information would be really appreciated !
Thanks in advance !
After searching a little bit more in the API documentation, I've found out that in order to have access to Google My Business API, you need to submit a form about your business so that Google authenthificates it.
Otherwise, the API will not be visible in the APIs library for your project.
See : https://developers.google.com/my-business/content/basic-setup#enable-the-api
The link to the form : https://docs.google.com/forms/d/e/1FAIpQLSfC_FKSWzbSae_5rOpgwFeIUzXUF1JCQnlsZM_gC1I2UHjA3w/viewform
I am studying to integrate Instagram into my app.But I have some confusion.
I found 2 API document: https://www.instagram.com/developer/ and https://developers.facebook.com/docs/instagram-api/. They have differences about supporting API Endpoints as well as how to use. So, what are they and what should we use the one for my app?
I need to get followers and following of user. But I could not found any APIs support for that functions.
Could you please help, I really need it for my app.
Thanks a lot
As of 1st of June 2016. Now you're only able to get the list of your
own followers/followings.
You can read about it here.
This api is used to get own followers/following list :
https://api.instagram.com/v1/users/self/follows?access_token=ACCESS-TOKEN
I was using the documentation found on the Instagram website, which will show you lots of end points but only let you use these two if your app has not been approved. At least that was the case until a few days ago, when accessing those endpoints started throwing off CORS errors.
Is there is an updated PHP client library for Fusion Tables? or maybe a very concrete copy+paste insert rows example?
I I have visited https://code.google.com/p/google-api-php-client/ and downloaded their latest release file, but while having examples for lots of other google apis, I can't find any mention of fusion tables examples.
Additionally I have been trying to get https://github.com/marciuz/fusion-table-php-api-and-shell fantastic project to work, but keep receiving "invalid credentials" errors when using my fusion tables enabled server api key with his shell or with the php examples he uses. This is even for basic SHOW TABLES commands.
Is there a scope issue here I am missing?
Is there a very simple php example I can use to just copy and paste my credentials (clientID, client secret, redirect uri, api key) into and get right to inserting rows into my Fusion Tables? Maybe something like Invalid Credentials Error when passing Oauth 2.0 Access Token to Fusion Tables API in PHP, only hopefully it includes how to create the access token, and helps to insert rows instead of modifying styling?
I am trying to not reinvent the wheel on this one, and have been looking high and low for a simple working example to insert rows, that is not over my inexperienced head. Thank you, this has been literally driving me crazy.
Here is what worked for me:
"Ok so I finally got this to work and I thought Id share this with everyone In case you get stuck like I did. One step that seems to be missing from all usage examples I've seen is the service account email address needs to be added via Google Docs.
Select the document (FT) in Google Docs Click "Share"
Select "Add People" Enter your service account email address, e.g. myservice...#developer.gserviceaccount.com Ensure "Can Edit" is selected. Un-check "notify people via email" Click "Share and Save"
This was a complete guess on my part but seems to have fixed my problem. I can finally insert into my FT via my service account. Hope this helps."
For anyone else looking out there, I found this code and fix very useful for finally getting a solution with the google-api-php-client. https://groups.google.com/forum/#!msg/google-api-php-client/9d2lQAppTvg/vh8CRhWJb_YJ
First of all, I'm not entirely sure stackoverflow is the place for this question, but registration on the x-cart forums is broken (you can sign up, but don't have permission to see anything,) google wasn't helpful and I've nowhere else to turn!
Anyway, I'm trying to use the directone payment method with x-cart, and it returns this error after checkout:
Order processing error
Order declined.
Review your data or contact the store administrator.
Reason: Response: System Error
Go Back
Not very helpful. Just wondered if anyone could at least point me in the right direction? Is there a more detailed log kept somewhere? Is there a great font of knowledge I should know about for things like this??
Thanks in advance,
John.
Ok, it was fairly simple - for x-cart to integrate with directone, I needed to setup a password and IP for x-cart to access the directone API. All working now.