From what I've seen, the only way to share pictures on Instagram is through Intents.
At this time, uploading via the API is not possible. We made a
conscious choice not to add this for the following reasons:
Instagram is about your life on the go – we hope to encourage photos from within the app. We want to fight spam & low quality
photos. Once we allow uploading from other sources, it's harder to
control what comes into the Instagram ecosystem. All this being said,
we're working on ways to ensure users have a consistent and
high-quality experience on our platform.
The only problem is that after uploading the pic, you don't get back in your application and this is not really user friendly, unless back button is pressed or you switch back to your App. Is there a way to fix this?
Short answer: no, there is no way for you to control the app behavior after the sharing was completed. Instagram provides the opportunity to 'send' the image to their app via intents and they don't give you any chance to control this process (at least for now).
Related
I use the Twitter app to follow a lot of news outlets. Each one of them posts links to articles on their websites. I want to open those articles in the news outlet's dedicated Android app. Some of them, like the NYTimes app, does it by itself. But most of them don't. I'm figuring that's because they haven't declared an intent in their app to do so. So basically I want to write an app that would give me an option to redirect the hyperlink of the article to a specific app, and I want to do it for multiple apps. Would it be possible to create a regex that would run on the URL and redirect it to the proper app accordingly?
Would it be possible to create a regex that would run on the URL
That is impossible to state in the abstract. Android's <intent-filter> system does not allow for filtering on all parts of a URL.
and redirect it to the proper app accordingly?
That is impossible to state in the abstract:
There is no requirement for the app for a news site to have any means for outside apps to tell it what to view
There is no requirement for an app's developers to document how to convert a Web site URL to whatever input would be available to tell the app to go view something
So, what you want may be possible for some news apps, but the details would vary by app.
Not that I am aware of - though this is an interesting concept.
Here are some things to know:
the twitter app doesn't care how the intent is resolved. the purpose of the intent is to share external data. once the twitter app has handed over the intent with the url it is up to the android system to decide which app can resolve.
the NY Times app is capable of opening because of this feature: https://developer.android.com/training/app-indexing/deep-linking.html
Workaround:
Learn to develop your own Android ROM to modify the Android Open Source Project adding your logic for intent resolution, compile and get your new Android ROM ready for deploy, install ROM on phone, keep your fingers crossed the entire time.
Question:
It is possible to upload photo from Android App to Instagram?
Some says its not possible because of this http://instagram.com/developer/endpoints/media/
I just want to clarify if it is possible or not. If not possible if there another way on how to upload photo to instagram?
No it is not really possible. The Instagram API only supports the retrieval of data (as you can see based on all of those GETs).
There really are no alternatives either since Instagram doesn't want to let other people have this type of functionality (otherwise we would see a ton of knockoff Instagram apps).
The company I work for is exploring creating "an app" version of their online video delivery webapp. The webapp is HTML5 and streams video. Nothing too scary but a lot of the stuff is server-side authentication with third party video hosts, code that will never be in a mobile app for security reasons.
The webapp has a lovely mobile stylesheet that works fine. We want an app that:
Shows a quick splash screen (and even that's optional)
Load the existing mobile website (not include it within the app)
And have the ability to specify an icon, give it a name and then shove it in the relevant marketplaces. That should satisfy the marketing department and it means I stay in control of what the app actually does.
Yeah, it's possibly the laziest app development ever... But, what's the simplest way to generate something like this? I was imagining there might be something out there already where you feed it your starting URL, splash screen, icon and name and it hands you back a multi-platform app.
Note: I'm not looking for something to create an app that looks like the mobile website and I'm not looking to put the content of the mobile website inside the app, I essentially just want a browser that loads the real mobile site.
Have a look at https://www.shoutem.com/. They provide a service similar to what you seem to be looking for but they charge royally for it. Considering the extra features you can easily add with their service your marketing department might just smell profit from using it and may therefore happily sign it off with their well known satanic smile.
There are a number of websites which provide easy web app development for a website. One of the famous is App Maker . Others include:http://www.viziapps.com/ and http://ibuildapp.com/
Since posting this, I have found:
http://www.websitetoapp.net/create
Feed it a URL and an Icon and it'll give you an Android app. Pay $5 and they'll disable adverts. Seems like it might be perfect for the Android half of this project.
Now, is there anything out there that will do this for other platforms?
I am new to instagram concept. Is there any sdk available for to integrating instagram to our application. I want to share images to instagram through my application as like what i share to facebook from my application.
you cannot post images to instagram from other applications.
Here’s some text from the very bottom of:
http://instagram.com/developer/endpoints/media/
At this time, uploading via the API is not possible. We made a conscious choice not to add this for the following reasons:
Instagram is about your life on the go – we hope to encourage photos from within the app. However, in the future we may give whitelist access to individual apps on a case by case basis.
We want to fight spam & low quality photos. Once we allow uploading from other sources, it's harder to control what comes into the Instagram ecosystem. All this being said, we're working on ways to ensure users have a consistent and high-quality experience on our platform.
There is no specific api to integrate instagram to Android application. But we can pass the intent in order to share the images if the device installed instagram.
I need to share some text and image from my android app to Pinterest, how could it be possible?
Pinterest's API is closed off, they don't document it, or give any explanation or way to register applications to be able to use it.
Basically, they don't want anyone but them making apps that interact with their site, while it's possible (you could, for instance, run a web browser in the background and have it open pages and such just as a user on the website would) it's not really 'meant' to be done, so it won't be easy :/