How to get an App version state history information from App Store Connect API - app-store

Is there a way to use App Store Connect API to get the information we see listed under Version History page in App Store Connect website?
Site URL: https://appstoreconnect.apple.com/apps/{app_id}/appstore/activity/ios/versions?m=
I noticed that the website uses the following endpoints to retrieve that information:
https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/apps/{app_id}/stateHistory?platform=ios
https://appstoreconnect.apple.com/WebObjects/iTunesConnect.woa/ra/apps/{app_id}/versions/{version_id}/stateHistory?platform=ios
This looks to be an internal only API.
Thanks!

Related

How to integrate Facebook with Watson conversation

I can already connect my conversation to my Facebook page and the bot is working.
My Problem is that i couldn't find a single tutorial on how to make calls to a server that is owned by a company and has information about accounts and payments, for example when i type to the Chat-bot that i want to see a list of accounts, the chat-bot would reply with a list from that API; Or i can login to that server with my account by typing the account's name and password in the chat-bot. I just wanted to know if anyone knows how to do that or if its even possible or knows a tutorial that explains it. I also would prefer if the tutorial was detailed because i'm new to this field.
As #Felipe Paixao said, you need to develop an orchestrating application.
I've found one example that explains step-by-step how to use Watson Conversation with Facebook Messenger.
Requirements:
Facebook page
IBM Bluemix
A Facebook Developer Account
Source code.
Step - IBM Bluemix:
Create a SDK for Node.js application
Create a Watson Conversation service
Create your Workspace for Watson Conversation and build your Dialog
Configure the JS app and integrate it with the Watson Service Connections -> Connect Existent:
In your App created in IBM Bluemix, access the Tools and go to IDE Eclipse, and create a new file: app.js with this code.
Replace with your credentials the username and password
You can see your credentials inside Service Credentials, or going to your workspace and access:
Step - Facebook Developers:
Enter to facebook developers with your Facebook account
In the Dashboard select Create a New App and Select Messenger
Put the URL from your Bluemix (Now IBM Cloud) app and select the options marked: messages, message_deliveries, messaging_options e messaging_postbacks.
Now, return to our app to configure the app.js file with our new FB token autogenerated and deploy it.
Step Final
Test your chatbot: If you made everything OK, we will have your chatbot available on your Facebook page.
Obs.: For built your example, you can add the lines of code for call your API in the app.js using the http module, using the Advanced JSON in Watson Conversation and create one "action": "callApi", and recognize with your code for do something, like this example.
See the Official Reference that I used to build Facebook Messenger with Node.js SDK (Back-end) source code based on Priscila Parodi codes.
You need to develop an orchestrating application, that would be responsible to connect the IBM Watson Conversation with your desired Fronted, Facebook in this case, and the Backend systems. I imagine that you are using the automatic deploy to Facebook from the Conversation Tooling, this option would not resolve your need to access a Backend.
The image passed by #data_henrik shows exactly that.
In conversation, you can create context variables that will be used as triggers in the Orchestrator to let him know when you need to call a Backend service to provide an information and then write the response into the Conversation context.
About using the Chatbot to login into a system, passing a password, this isn't a safe option since all information typed would go to Watson Conversation log and any person with access to the tooling/api could see the passwords.

Get user installed apps and each app ratings

I have created a new facebook application.I am trying using Graph api 2.2, once user installs my app to get his already installed apps and each installed app ratings.
While reading documentation i see such action in not possible. I was wondering if there is another way (not using Graph api) to get applications. Also i cannot understand why facebook is not allowing (once your app is granted) to read installed apps but is allowing to read inbox,friends,personal which is supposed to be confidential data!
Thank you
Stefanos
There is no way to get the installed Apps of a user, with or without the Graph API. Everything that may be possible somehow without the the Graph API would not be allowed, because that would be scraping: https://www.facebook.com/apps/site_scraping_tos_terms.php
You need to think as a user, not as a developer. I would not want any App to know which other Apps i am using. There is no serious way how an App would deal with that information anyway.
Also, the permission to get access to the inbox will not get approved in most cases, and you can only get the friends who authorized the same App too.

how to post data on salesforce database from iphone application?

I am developing one iPhone application in which I want to post data on the salesforce database.
I have tried from google but not got any success.
Can you please guide me?
Thanks in Advance
Salesforce provides an iOS SDK to talk to their API:
https://github.com/forcedotcom/SalesforceMobileSDK-iOS
Here is a tutorial on getting started:
http://wiki.developerforce.com/page/Getting_Started_with_the_Mobile_SDK_for_iOS
You will need to use an Oauth flow to authenticate to the API. This means you show a Login page from Salesforce.com, the user logs in, and then your UIWebView will get a redirect with a sessionId in the URL. You can extract the sessionId and use it to talk to the API for read or write access, depending on the user's permissions. The SDK includes sample code that implements all of that, so you just need to merge that code in with your app.

Intranet Facebook Application for updating status

I'm writing an in house intranet application which needs to update our Facebook status. (I'm new to FB development so please go easy) I don't want this application to be visible to anyone - the updates will occur via a call to the API (using the FB C# sdk) - I'm currently running in dev/sandbox mode and it's all working but is there a simpler way i can update FB status' without having to create an app in FB and authenticate etc. with OAuth? This has to be done via a web application as we have an internal review process that needs to take place on the status content then posted via an app when someone who knows the Facebook access details logs in via the app itself.
Many thanks.
Sounds like you're already doing it the best/only way which will work for that use-case

Facebook Connect How to get userId after sign in from face book connect

i am using facebook connect it is working fine but what i want now is i want to get the information of the currently logged in user. like name, email etc. I am working in asp.net 2.0
Regards
I woud suggest using the following project, to communicate with the facebook API:
http://facebooktoolkit.codeplex.com/Wikipage
The following page explains how to setup the project in Visual Studio and also shows how to create a Facebook session and retrieve the user info:
http://facebook.claritycon.com/help/html/64e3dc97-5125-541e-9e84-7f9303e95f06.htm