instagram

Post photo to Instagram using their iOS hooks

白昼怎懂夜的黑 提交于 2019-11-30 04:05:24
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 self.documentInteractionController = [UIDocumentInteractionController interactionControllerWithURL:

Instagram new logo css background

白昼怎懂夜的黑 提交于 2019-11-30 04:01:09
Recently, Instagram logo has changed as you all know. I need vector logo but it is not possible, I mean gradients. Is there any css code for new logo? Here is the css code for background color: .instagram{ width:100px; height:100px; background: #f09433; background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); filter: progid:DXImageTransform

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

廉价感情. 提交于 2019-11-30 03:59:18
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, MediaStore.Images.ImageColumns.DATE_TAKEN}; Cursor c1 = cr.query(MediaStore.Images.Media.EXTERNAL

Ruby on Rails Multiple HTTP request at the same time?

情到浓时终转凉″ 提交于 2019-11-30 03:47:11
问题 I'm pulling multiple requests (its pulling one at a time), I was wondering if there's a way pull requests all at the same time if I have something like this: client = Instagram.client(:access_token => session[:access_token]) @user = client.user @recent_media_items = client.user_recent_media @lv = client.tag_recent_media('lv', options = {:count => 60}) @lv1 = client.tag_recent_media('lv1', options = {:count => 60}) @lv2 = client.tag_recent_media('lv2', options = {:count => 60}) @lv3 = client

Will be Instagram login totally deprecated?

℡╲_俬逩灬. 提交于 2019-11-30 03:19:09
Instagram announced the Instagram Platform API deprecation : "To continuously improve Instagram users' privacy and security, we are accelerating the deprecation of Instagram API Platform" Their documentation and changelog says to refer to new Instagram Graph API . Is it clear that many, almost every old endpoints are now deprecated, but nothing is said about login functionality. The "new Instagram Graph API" seems to refer only to business oriented behaviour, so my question is: are they deprecating also Instagram Login feature for authentication? FYI: https://www.instagram.com/developer

Link to Instagram profile with user ID

狂风中的少年 提交于 2019-11-30 02:54:12
问题 I want to link to a profile/user account on Instagram. I have the user ID, but the I can't find the answer in the developer API documentation. I've tried instagram.com/userID and instagram.com/users/userID but these aren't working. Simple question: I have just a single <a> tag and I want to know what goes in the href to take the user to a specific instagram profile. Or possibly a window.location in javascript. Or if there's a way to get the username from the ID, I suppose I could also do it

iPhone : HOWTO move status bar with pan gesture

瘦欲@ 提交于 2019-11-30 02:13:56
Like Instagram - EXPLORE Tab, when I scroll the content, the status bar moves as well. Always called FullScreenScroll , like here , when the user scrolls the tableView, the NavigationBar & TabBar are scrolled to show or hide at the same time. My problem is, not only NavigationBar & TabBar, I also want to make the StatusBar follow the finger move. Finally, it is really fullscreen. This is the best solution you can find to get status bar window UIWindow *statusBarWindow = (UIWindow *)[[UIApplication sharedApplication] valueForKey:@"statusBarWindow"]; Then change the frame Jason Lee I don't know

What is the new instagram json endpoint?

折月煮酒 提交于 2019-11-30 00:46:48
Instagram used to expose open data as json under the endpoint https://www.instagram.com/<username>/?__a=1 . This changed over night, the endpoint is not available anymore. What is the new endpoint or what could be an alternative to this? Thanks in advance! The endpoint does not exist anymore. Facebook is restricting APIs because of scandals. The data is still there of course, Instagram's frontend needs it, so the alternative right now is to scrape the page and find the json data there. Here is how I do it: Do an http get to to https://www.instagram.com/<username> . Look for the script tag

Create a tilt-shift filter like instagram in objective C

ぃ、小莉子 提交于 2019-11-29 23:53:22
问题 I trying to create a tilt-shift filter of the image like instagram or iDarkroom in iOS. My proposed method is use different Gaussian Blur levels for the partial image. But I don't known how to control the area to apply different Gaussian Blur Levels, especially when User can change the effect area by rotate, scale, etc. Sorry about my complex presentation but simply, I want to create a tilf-shift tool for iOS like in Instagram. I search and found this powerful framework https://github.com

Instagram captcha error on new app creation

安稳与你 提交于 2019-11-29 23:11:41
When I try to create an instagram client (developer side), I'm always getting the same error: Captcha invalid, please try again Submission error: please fill out all required fields. All fields are correctly set and captcha is good. (I tried many times, but always same error) Someone have a solution for me? If you look at the console, we can see there is an error related to "Content Security Policy" which avoid loading google captcha script : Based on this answer there is no easy way to disable "Content Security Policy" in Chrome except by using an extension. Such an extension is available