yahoo stores api authentication - yahoo

I'm attempting to get order data from a Yahoo store. I'm using the docs found here: http://lib.store.yahoo.net/lib/vw/order-payment-api.pdf
I can't seem to get past authentication. I've got the store id. The store owner has turned on access for me and I've gotten the secret code to add to my xml POST request.
Anyone had any luck doing this? If you have can you help me.

Like magic this started working last weekend. Why? Nobody really knows. I did send yahoo an e-mail complaining but didn't get a response.
Also, while running POSTs I found that preceding your request XML with a space is a bad idea.

Related

Cannot exchange short-lived token to long-lived token by instagram API

I should show the snapshot to you.
Unsupported request - method type:get
Even the official documentation said that we can only use get to exchange token to long-lived token,
I still tried the post method to experiment, it also failed.
More information:
I passed the validation about instagram_graph_user_profile and instagram_graph_user_media,
but I am still facing the problem like the snapshot.
If I added this user to our testing account, this problem has never shown again,
I'm really frustrated about this.
Our website is an easy application,
we use LAMP structure to build our website,
please help me to solve this out :(
I can give more information if you need :)

difference in API/session in Google API billing

Not able to differentiate between price per request and price per session in Google API
I'm facing difficulty in
understanding some billing related terms for Google API. I know, this question might be more suited for support directly from Google. I tried but not getting satiesfactory response.
I was going through this URL:
https://developers.google.com/maps/billing/understanding-cost-of-use#ac-per-character
Here both 'price per request' and 'price per session' has been provided.
While I understand the difference between request and session, my question
is related to example provided in the same link, which is like this :
Places Autocomplete Request (input=”paris”, session_token: XYZ)
What I know, in google API, we just pass an API KEY to get results, but above seem to have required session_token. This has confused me. How can I pass session_token, when google has provided just an API KEY to me after creating billing account?
Is API key same as Session_token or does that mean, I need to get session token after 'first' passing API_KEY via code.
I'm not able to find good example explaining this till now.
Thanks for your help !!

Google JS API Returning "No application ids specified"

This is a copy paste of a GitHub Issue, but due to the project contributors lack of response it is being asked here:
Hi there!
It's my first time using the Google API, and I'm trying to get my (the end user)s Google Play Games Level. I've done my fair share of research and I've been modifying the oauth sample provided by Google.
My "working" example can be found here.
After I completed basic auth and got my access_token from Google, I began poking directly at the source of Game (more specifically, here) and I started getting the following response:
{
domain: 'global',
reason: 'invalid',
message: 'Invalid applicationId with value . Reason: No application ids specified.'
}
I believed it was my fault, then I went to the OAuth 2.0 Playground
I followed the most barebones method to do the request I needed:
Input https://www.googleapis.com/auth/games into the box for Select and Authorize APIs
Give it the access it wants, and login.
Exchange auth code for tokens.
Input the following request URI https://www.googleapis.com/games/v1/players/me
Send Request
Same error as above.
"Strange" I thought. So I went to where I learned.
https://developers.google.com/games/services/web/api/players/get#try-it
Input me for playerId
Press execute.
Same error as above.
Now the issue is completely above me. Two official resources and my own poorly put together code all outputting the error. I believe the error lies within Google's flow somewhere but I'm not sure.
My next step is to await further assistance from someone more skilled than I to get this issue pointing in the right direction.
Thanks!

Yahoo PHP SDK - consumer key rejected error

I am trying to use the PHP SDK provided by Yahoo on my website.
I have not requested any extra private data (special permissions).
However, I keep getting the error oauth_problem=consumer_key_rejected every time I try.
Can someone please tell me what could be the mistake I'm making?
Please do let me know if you need further info on the same.
I had the same problem. It seems unrelated, but once I enabled permission for private data access, the problem went away. I believe you can pick any private data access. For example, I enabled "Knowledge Plus" and it's now working for me.
You should create account in Yahoo! Messenger OAuth API Key.
Then you will receive Keys.
and Yahoo Messenger API for php has some problem,but the base works correctly.
for example it will make JSON code by hand:D
{'':''}
something like it,but you should make it by json_encode() php function.

How can I log into gmail in a script/program using HTTPS?

My teacher has given me as an assignment to log into gmail and then send one e-mail or read the list of unread e-mails, but I can't use IMAP/POP3/SMTP or anything that isn't HTTP or HTTPS. I've tried looking for libraries in Ruby/Java to do it but nothing really worked for me.
I tried looking at the gmail source code page but I couldn't really understand what was going on. The page seems to call a post method on a link, but sniffing the packets what I saw was a GET apparently using a session generated using the info I send. So sending it "raw" didn't work either.
I've no idea what to do now.
After you authenticate with OAuth, you can get unread emails via an atom feed.
URL to hit: https://mail.google.com/mail/feed/atom/[<label>]
You can toy around with this at the Google oauth playground. Get an access token by continually clicking buttons and authenticating, and then hit discover feeds.
If you want a Java OAuth library, signpost is really good. You'll need to read the google documentation on its open authentication scheme. Specifically, you need to pass a scope query parameter when you attempt to authenticate. This is nonstandard, and it will trick you up if you're not looking for it.
If you're confused about OAuth or why its necessary, you may want to check out this resource.
Check out httplib2—it has (among other things) Google Account Authentication.

Resources