instagram

Instagram Unable to reach callback URL

穿精又带淫゛_ 提交于 2019-11-29 04:18:29
I'm having weird problem that instagram won't allow me to subscribe to more tags. I subscribed yesterday to 3 tags without any problem, I tried today with new tag and no effect. Does somebody else have same problems? I keep getting APISubscriptionError code 400 Unable to reach callback URL, but that URL is globaly accessible, even instagram is calling it every 5 min for tags i added yesterday. Any ideas? uberdog This problem has now been fixed. If it re-appears, here is workaround that I developed dealing with similar problems with the real-time API over the past couple years. Set your system

How to display only bottom border for selected item in UISegmentedControl?

余生颓废 提交于 2019-11-29 03:41:07
问题 I'm extremely new to iOS development and ran into some trouble while building an app for a course. I created a segmented control and its init function (shown below) is being called in the view controller class containing the segmented control. I was able to remove all borders and dividers of the segmented control from the segmented control class as follows: import Foundation import UIKit class CashSegmentedControl: UISegmentedControl{ func initUI(){ removeBorders() } func removeBorders(){

Instagram ?__a=1&max_id=<end_cursor> isn't working for public user feeds

我只是一个虾纸丫 提交于 2019-11-29 03:14:30
问题 I've been using Instagram's undocumented API https://www.instagram.com/<user>/?__a=1 to get a public user feed. I was also able to get multiple pages via their max_id query parameter like so: https://www.instagram.com/<user>/?__a=1&max_id=<end_cursor> end_cursor = json_response.graphql.user.edge_owner_to_timeline_media.page_info.end_cursor (yes, "has_next_page" is true) They had a recent change to their JSON format and I think they might have broken other functionality. The "end_cursor" is

How to create bottom navigation bar similar to instagram

元气小坏坏 提交于 2019-11-29 01:58:59
问题 I am an android newbie trying to create a bottom navigation bar for my new android app similar to one there in Instagram. Like this where clicking on the search icon adds a search bar in action bar. I am building an app for reminding the user about his medical appointments which has three navigation tabs at the bottom. I have created till this after this I am stuck. Should I use three activities to display the content of corresponding tabs or fragments and how can I achieve that. I need a

Instagram API: do scopes work with OAuth2 implicit authentication flow?

烈酒焚心 提交于 2019-11-29 01:57:04
I'm making requests against the Instagram API from a mobile app. Currently, I'm just directing the user to the Instagram auth url and specifying the response type to be "access_token". Specifying this response_type is known as implicit auth. Explicit auth: response_type=code Implicit auth: response_type=access_token I'm trying to get around needing to stand up a web service to facilitate explicit auth. This would be necessary because in explicit auth flow, the Instagram API needs to make a call to a redirect URL and pass in a "code" parameter. The code would then be used by my server-side code

Post photo to Instagram using their iOS hooks

岁酱吖の 提交于 2019-11-29 01:24:05
问题 I use the following code in my iOS app to use Instagram iPhone hooks to post a photo to Instagram. I only want the "Open In..." menu to have Instagram app, no other apps. But in my case Camera+ also shows up. How can I restrict to Instagram? Also, can I directly open Instagram instead of showing Open In menu? NSURL *instagramURL = [NSURL URLWithString:@"instagram://app"]; if ([[UIApplication sharedApplication] canOpenURL:instagramURL]) { //imageToUpload is a file path with .ig file extension

Oauth2 Instagram API “redirect URI does not match registered redirect URI”

删除回忆录丶 提交于 2019-11-28 23:20:51
I am working on a Rails application which is in development mode and it can register with omniauth. The host is http://localhost:3000/ I'm using the gems: gem 'omniauth' gem 'omniauth-foursquare' gem 'omniauth-instagram' When I register through omniauth with Foursquare there's no problem at all. All the settings are right and my redirect_uri in the Foursquare developer settings equals to the host (localhost:3000) However, if I fill in the exact same redirect_uri (localhost:3000) in the Instagram client manager*. Instagram gives me this: { "code": 400, "error_type": "OAuthException", "error

How to send a photo to Instagram using my Android app?

强颜欢笑 提交于 2019-11-28 23:16:45
问题 My app take photos and I want to share in Instagram. My app save the image in this directory File storagePath = new File(Environment.getExternalStorageDirectory() + "/DCIM/Camera/tubagram"); Now I'm trying to get the last picture I taked to share in Instagram using this code Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND); shareIntent.setType("image/*"); final ContentResolver cr = getContentResolver(); final String[] p1 = new String[] {MediaStore.Images.ImageColumns._ID,

How webpages like Statigram doesn't exceed Instagram API rate limits

孤人 提交于 2019-11-28 22:26:56
问题 Well, pretty much what it says on the tin. I'm really curious about how pages like Statigram do their search functionality without users authentication and not exceeding the limits? If I'm correct, Instagram API allows 5000 calls per hour, so I believe it's very likely that they indeed have more traffic than 5000 requests per hour. Maybe It's a dumb question and Statigram has a special deal with Instagram to use their API or maybe they don't use the API and they use some other method? 回答1:

Post UIImage to Instagram using Swift similar to SLComposeViewController

血红的双手。 提交于 2019-11-28 22:05:46
I have an iOS Xcode 7 Swift 2 project I'm working on. The app posts photos to Facebook and Twitter using: var shareToFacebook: SLComposeViewController = SLComposeViewController(forServiceType: SLServiceTypeFacebook) and var shareToTwitter: SLComposeViewController = SLComposeViewController(forServiceType: SLServiceTypeTwitter) Love how easy and simple for just posting a photo to these two social medias. I didn't need or want the APIs for them. I want to do something similar and simple for Instagram . What is the best way to do this without having to deal with Instagram API ? Or do I have no