instagram

Embebing instagram webpage inside an iframe

为君一笑 提交于 2020-01-22 08:48:02
问题 I am getting this error: Refused to display 'http://instagram.com/p/page/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. I want to show instagram page inside my web because it is a mobile app and I want to use my back buttons. This is my webpage: <body id="responsiveDemo"> <div data-role="page" id="test" data-theme="g"> <div data-theme="g" data-role="header"> <a href="javascript:history.back()" data-icon="back" data-iconpos="notext"></a> <h1>Instagram</h1> </div> <div data-role

Embebing instagram webpage inside an iframe

穿精又带淫゛_ 提交于 2020-01-22 08:47:30
问题 I am getting this error: Refused to display 'http://instagram.com/p/page/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. I want to show instagram page inside my web because it is a mobile app and I want to use my back buttons. This is my webpage: <body id="responsiveDemo"> <div data-role="page" id="test" data-theme="g"> <div data-theme="g" data-role="header"> <a href="javascript:history.back()" data-icon="back" data-iconpos="notext"></a> <h1>Instagram</h1> </div> <div data-role

Embebing instagram webpage inside an iframe

岁酱吖の 提交于 2020-01-22 08:47:08
问题 I am getting this error: Refused to display 'http://instagram.com/p/page/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. I want to show instagram page inside my web because it is a mobile app and I want to use my back buttons. This is my webpage: <body id="responsiveDemo"> <div data-role="page" id="test" data-theme="g"> <div data-theme="g" data-role="header"> <a href="javascript:history.back()" data-icon="back" data-iconpos="notext"></a> <h1>Instagram</h1> </div> <div data-role

Link on a webpage to open instagram app

坚强是说给别人听的谎言 提交于 2020-01-22 07:34:08
问题 Is there a way to setup a link on a webpage, so that it tries to open the instagram app. (if it's installed)? I'm trying to do this for a responsive website so I'm not in another "app". This does not work: <div> <a href="instagram//:media?id=434784289393782000_15903882">instagram://media?id=434784289393782000_15903882</a> </div> EDIT: I've corrected the typo as suggested in the answers and tested on iPhone. Work fine! Thanks @Krisrak! But I'm testing on Android Galaxy Nexus and it does not

Link on a webpage to open instagram app

最后都变了- 提交于 2020-01-22 07:34:07
问题 Is there a way to setup a link on a webpage, so that it tries to open the instagram app. (if it's installed)? I'm trying to do this for a responsive website so I'm not in another "app". This does not work: <div> <a href="instagram//:media?id=434784289393782000_15903882">instagram://media?id=434784289393782000_15903882</a> </div> EDIT: I've corrected the typo as suggested in the answers and tested on iPhone. Work fine! Thanks @Krisrak! But I'm testing on Android Galaxy Nexus and it does not

How to find the mp4 video link from an Instagram link

Deadly 提交于 2020-01-21 07:27:06
问题 I work on a facebook-like social network and would need to extract the mp4 from an Instagram link. For photos it was easy: url_shared = "http://instagram.com/p/a69ygTTHKq/" photo_to_embed = url_shared+"?size=t" Do you know anything similar to find out a direct link to the mp4? I tried using their API and changing the extension from ".jpg" to ".mp4" but failed as it doesn't work all the time. For example: http://api.instagram.com/oembed?url=http://instagram.com/p/bCgbJ2pgCi/ returns { provider

Filling in login forms in Instagram using selenium and webdriver (chrome) python OSX

僤鯓⒐⒋嵵緔 提交于 2020-01-18 04:01:42
问题 I want to log in to instagram using selenium, but I can't seem to enter values into the fields. Here's my script: #go to this address browser.get('https://www.instagram.com') #sleep for 1 seconds sleep(1) #find the 'login' button on homepage login_elem = browser.find_element_by_xpath( '//*[@id="react-root"]/section/main/article/div[2]/div[2]/p/a') #navigate to login page login_elem.click() Having trouble from here onwards: #locate the username field within the form unform = browser.find

Filling in login forms in Instagram using selenium and webdriver (chrome) python OSX

不羁的心 提交于 2020-01-18 04:01:27
问题 I want to log in to instagram using selenium, but I can't seem to enter values into the fields. Here's my script: #go to this address browser.get('https://www.instagram.com') #sleep for 1 seconds sleep(1) #find the 'login' button on homepage login_elem = browser.find_element_by_xpath( '//*[@id="react-root"]/section/main/article/div[2]/div[2]/p/a') #navigate to login page login_elem.click() Having trouble from here onwards: #locate the username field within the form unform = browser.find

Instagram API: How to know a media's privacy level?

旧城冷巷雨未停 提交于 2020-01-17 01:39:31
问题 I'm syncing a bunch of media from instagram. Some show up with thumbnails that say 403 forbidden along with this response: <?xml version="1.0" encoding="UTF-8"?> <Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>*********</RequestId> <HostId>*********</HostId> </Error> I have no problem with this, but I would like to simply skip these photos as I'm doing my sync. Is there anything in the media response I can use to detect the privacy level of the photos? Thanks! 来源

Extracting ACCESS_TOKEN from Instagram redirect with Angular 5(Implicit Authentication)

时光怂恿深爱的人放手 提交于 2020-01-16 17:59:54
问题 Since I'm developing a pure frontend app with no backend, I'm going with Instagram implicit authentication. The problem is, after the user authorizes the app, Instagram redirects to my redirect_uri with the access token like this, http://your-redirect-uri#access_token=ACCESS-TOKEN . How do I extract the access token from this? I tried using the router but with '#' it was not successful 回答1: Use window.location.hash to access to all parameters starting from #. Or you can use window.location