Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm developing an online platform, where one type of users (User Type 2) create a profile in an web-app and submit data into the web-app. Another user type (User Type 1) is then able to view this data from an iOS-app. See image below for overview.
I want the User Type 1 to be able to (without logging into instagram) watch User Type 2s Instagram Images.
I have been playing around with the Instagram-API, registered as a developer, and registered a client app, which is now in sandbox mode. But I find it a bit hard to get started, and a grasp about which user types need to be authenticate.
Is it possible to make the iOS-app Authenticate with the API in the background, and then pull images from any instagram user?
If so, what is the simplest way to get started at pulling images down to the iOS-app? Maybe you have some good suggestions or tutorials...
Technically, you don't need to authenticate to get a user's photos. You might need it for the iOS SDK, but if you want to use HTTP calls you can get a JSON blob of all the photos by just adding /media/ after the user address, like so: https://www.instagram.com/dnlrsn/media/.
Obviously, this doesn't allow for interacting with the images, but from what I understood from your question, you don't need that.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm new to programming, so please be patient. I'd like to implement in my current app a chat, but not with other users, but rather with the app itself. In the app called "Ada" the way user interacts with the app is through various buttons that he presses, after which the app gives the answer. So, as far as I understand what I try to create has nothing to do with machine learning, so I'd like to avoid such services as DialogFlow or the same service provided by IBM, as I don't want to pay for the additional features that I will never use (I don't want my users to use keyboard input to interact with the app, I want them to use only buttons). But I'd like to create a page, which looks like a chat. The only app that I know that has implemented exactly what I need is Ada. The problem is that there is literally no page on that topic on the Internet, so I don't know where to even begin. As I don't know where to even start, I have no starting code to provide you with.
Here is a simple example of what I mean:
On the right the app gives the user a test, as user pressed "begin" button
Hope that you understand what I need and you'd help me a lot if you would explain exactly how to create such a chat.
It looks like there is a Udemy course on this very subject:
https://www.udemy.com/course/simple-ios-chat-app-in-swift-4-firebase-4/?LSNPUBID=VkwVKCHWj2A&siteID=VkwVKCHWj2A-wV3kGNSueSCVcV8Oj.3Qxw&utm_source=adwords&utm_medium=udemyads&utm_campaign=DSA_Catchall_la.EN_cc.US&utm_content=deal4584&utm_term=_._ag_95911180068_._ad_436639626698_._kw__._de_c_._dm__._pl__._ti_dsa-402185414521_._li_9059739_._pd__._&matchtype=b&gclid=EAIaIQobChMI-uSro4KM6gIVCYizCh3XiwKLEAAYASAAEgL81PD_BwE
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a general architecture question. From where applications like Skype or Viber delivers user images?
For example, if I am a user that registers in the application and I set my profile image - then that image is uploaded to the server.
When I open my list of contacts (that is fetched from the server), how are images served? Are they served from some url all the time or they are downloaded and cached on the mobile device?
What do you think, which approach is better. And maybe there is a third approach that I am not aware of.
Thanks for clarifying.
Its common practice to cache that kind of content at least while the app is in memory. Whether to retain it between runs depends on the cost of fetching again and the probability of needing it.
Hope i'm understand your question. I see these ways:
You can use some third-party services to get user's picture by his email or some other information; for example: https://gravatar.com/.
It's similar with 1: You are linking your user with his profile in some social network, Facebook for example. Then you can get access to his avatar and contact list, which includes avatars of his friends.
You are uploading and saving pictures of users by you own.
All apps definitely doing in these ways. In any case, mobile app stored pictures in his cache or file system, it helps your app not to downloading a new copy of images each time. Usually, it's cache: they will not download resource if no change was made. Http protocol has special header ('modified-since' AFAIK) for it.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am building an app that connects to a server at the back end that supports multiple users.Similar in this respect to Facebook etc. On the web version, users log in and then their userid allows them to access all their content. As with any website, you can log out as one user and log on as another.
For the app, is it customary or best practice to allow only one user for an installed app? In other words if someone has signed up once for an app, is it best practice to only allow that one userid and password to sign on and not let someone else come along and log in as a different user? Or is it customary to allow multiple people to log in and out as with website.
If just one user is allowed, I only have to support one profile on the app and one set of data locally so this would obviously be easier but just want to conform to normal practice.
Thank you
In general, if you are able to log in you should be able to log out as well. This is true for apps and web. It is a little more complex but not too much.
Log out can be put in a settings section and when that is clicked you destroy all of the local caches, take them back to the log in screen, and it essentially becomes a freshly installed app.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
So I know this is a pretty simple question, but I've looked through all of my iOS textbook and can't seem to find out how people do this. I just want to store and edit an array on the internet. That is, let's say all of the data for my application is stored in an NSMutableArray. Ignoring the complications that occur with people editing the array at the same time, how would I allow multiple people to go into my app and then through that app access and edit the NSMutableArray for others to see?
There are a ton of options here, some of which were listed by #Zaph. The most common scenario to share data between a ton of random users is to setup your own server to run an API that you app will be able to communicate with. This is commonly referred to as the "Backend". The solutions here are vast, written in many different languages and sometimes even provided by third parties services. My advice is to pickup a simple, easy to learn server-side setup like Ruby-on-Rails, then deploy test app on Heroku as they provide free accounts to play with.
In addition to the options #coneybeare provided some others include DropBox, Parse and Azure.
Dropbox requires each user so setup an account.
Parse and Azure have rather easy APIs but you will be paying past the free tier.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I Was wondering if anyone can tell me if this is possible. So.. I am just about to create my first iPhone app. I have my idea and everything is sketched out etc.. but then today I realised that I had not thought about all the features and their implementation properly. This could soon be a no win situation, so please help
Is it possible to create a username and password automatically upon first app opening? so the username and password is to be generated on the fly and then submitted to a web database.
I would also like it so that the user of the app could change this manually if they wished. but also so that if they viewed it on their other iDevices they could sync it up.
Is that possible?
yes, you could generate a random string to sign up a user for first time (backdoor guest account sort of speak), I've done it with one of my apps before (temporarily). However, you should consider baking a guest account feature into your remote server.