b4hr4m

ارور در اتصال به API

b4hr4m ۱۳۹۵/۰۱/۱۹ 38 زبان برنامه‌نویسی جاوا

سلام . با عرض خسته نباشید . من می خوام به API برنامه خاصی متصل شم . اما متاسفانه با این اررور مواجه میشم

Unknown error response code: 404 <!DOCTYPE html><!--[if lt IE 7]>      <html lang="en" class="no-js lt-ie9 lt-ie8 lt-ie7 not-logged-in "> <![endif]--><!--[if IE 7]>         <html lang="en" class="no-js lt-ie9 lt-ie8 not-logged-in "> <![endif]--><!--[if IE 8]>         <html lang="en" class="no-js lt-ie9 not-logged-in "> <![endif]--><!--[if gt IE 8]><!--> <html lang="en" class="no-js not-logged-in "> <!--<![endif]-->    <head>            <script type="text/javascript">window._timings = {"domLoading": Date.now()}</script>        <meta charset="utf-8">        <meta http-equiv="X-UA-Compatible" content="IE=edge">        <title>              Instagram          </title>        <script type="text/javascript">  WebFontConfig = {    custom: {      families: ['proxima-nova:n3,n4,n6,n7'],    }  };</script><script src="//instagramstatic-a.akamaihd.net/h1/scripts/webfont.js/c0456c81549b.js" type="text/javascript" async></script><style type="text/css">  /* @license   * MyFonts Webfont Build ID 2164953, 2012-03-23T23:06:30-0400   *   * The fonts listed in this notice are subject to the End User License   * Agreement(s) entered into by the website owner. All other parties are   * explicitly restricted from using the Licensed Webfonts(s).   *   * You may obtain a valid license at the URLs below.   *   *   * Webfont: Proxima Nova Light by Mark Simonson   * URL: http://www.myfonts.com/fonts/marksimonson/proxima-nova/light/   * Licensed pageviews: unlimited   *   * Webfont: Proxima Nova Regular by Mark Simonson   * URL: http://www.myfonts.com/fonts/marksimonson/proxima-nova/regular/   * Licensed pageviews: unlimited   *   * Webfont: Proxima Nova Semibold by Mark Simonson   * URL: http://www.myfonts.com/fonts/marksimonson/proxima-nova/semibold/   * Licensed pageviews: unlimited   *   * Webfont: Proxima Nova Bold Italic by Mark Simonson   * URL: http://www.myfonts.com/fonts/marksimonson/proxima-nova/bold-it/   * Licensed pageviews: unlimited   *   * Webfont: Proxima Nova Bold by Mark Simonson   * URL: http://www.myfonts.com/fonts/marksimonson/proxima-nova/bold/   * Licensed pageviews: unlimited   *   * Webfont: Proxima Nova Italic by Mark Simonson   * URL: http://www.myfonts.com/fonts/marksimonson/proxima-nova/regular-it/   * Licensed pageviews: unlimited   *   *   * License: http://www.myfonts.com/viewlicense?type=web&buildid=2164953   * Webfonts copyright: Copyright (c) Mark Simonson, 2005. All rights reserved.   *   * (c) 2012 Bitstream Inc   */  @font-face {    font-family: 'proxima-nova';    src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-bold-webfont.eot/115b1f7f9c04.eot');    src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-bold-webfont.eot/115b1f7f9c04.eot?#iefix') format("embedded-opentype"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-bold-webfont.woff/618250d25a4d.woff') format("woff"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-bold-webfont.ttf/646346e03084.ttf') format("truetype"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-bold-webfont.svg/e55a9d6051e8.svg#ProximaNovaBold') format("svg");    font-weight: bold;    font-style: normal; }  @font-face {    font-family: 'proxima-nova';    src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-boldit-webfont.eot/1cbb869da891.eot');    src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-boldit-webfont.eot/1cbb869da891.eot?#iefix') format("embedded-opentype"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-boldit-webfont.woff/b1cf049474c9.woff') format("woff"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-boldit-webfont.ttf/3adb020ceae3.ttf') format("truetype"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-boldit-webfont.svg/29948a2d3c58.svg#ProximaNovaBoldItalic') format("svg");    font-weight: bold;    font-style: italic; }  @font-face {    font-family: 'proxima-nova';    src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-reg-webfont.eot/12af77715cee.eot');    src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-reg-webfont.eot/12af77715cee.eot?#iefix') format("embedded-opentype"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-reg-webfont.woff/a9a9773b8e29.woff') format("woff"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-reg-webfont.ttf/99e19808976a.ttf') format("truetype"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-reg-webfont.svg/c33d2fd56309.svg#ProximaNovaRegular') format("svg");    font-weight: normal;    font-style: normal; }  @font-face {    font-family: 'proxima-nova';    src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-regit-webfont.eot/1bbbd1312b0d.eot');    src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-regit-webfont.eot/1bbbd1312b0d.eot?#iefix') format("embedded-opentype"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-regit-webfont.woff/9e306befca91.woff') format("woff"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-regit-webfont.ttf/4a8663684135.ttf') format("truetype"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-regit-webfont.svg/876278d4b189.svg#ProximaNovaRegularItalic') format("svg");    font-weight: normal;    font-style: italic; }  @font-face {    font-family: 'proxima-nova';    src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-sbold-webfont.eot/5016edf79e1d.eot');    src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-sbold-webfont.eot/5016edf79e1d.eot?#iefix') format("embedded-opentype"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-sbold-webfont.woff/615c1b06d8fa.woff') format("woff"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-sbold-webfont.ttf/2973bd483f7a.ttf') format("truetype"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-sbold-webfont.svg/868597833e49.svg#ProximaNovaSemibold') format("svg");    font-weight: 600;    font-style: normal; }</style>  <style type="text/css">  @font-face {    font-family: 'proxima-nova';    src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-light-webfont.eot/63c84728610f.eot');    src: url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-light-webfont.eot/63c84728610f.eot?#iefix') format("embedded-opentype"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-light-webfont.woff/66bbe029f180.woff') format("woff"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-light-webfont.ttf/eb408516399b.ttf') format("truetype"),      url(' //instagramstatic-a.akamaihd.net/h1/webfonts/proximanova-light-webfont.svg/858f6a9b7ef3.svg#ProximaNovaLight') format("svg");    font-weight: 300;    font-style: normal; }</style>                    <meta name="robots" content="noimageindex">            <meta name="apple-mobile-web-app-capable" content="yes">    <meta name="apple-mobile-web-app-status-bar-style" content="black">            <meta id="viewport" name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1">        <script type="text/javascript">        (function() {            var docElement = document.documentElement;            var classRE = new RegExp('(^|\\s)no-js(\\s|$)');            var className = docElement.className;            docElement.className = className.replace(classRE, '$1js$2');        })();        </script>                        <link rel="Shortcut Icon" type="image/x-icon" href="//instagramstatic-a.akamaihd.net/h1/images/ico/favicon.ico/7cdab0872b15.ico"><link rel="mask-icon" href="//instagramstatic-a.akamaihd.net/h1/images/ico/favicon.svg/dfde15ef1533.svg" color="#125688">                <link rel="apple-touch-icon-precomposed" href="//instagramstatic-a.akamaihd.net/h1/images/ico/apple-touch-icon-precomposed.png/29d68fc587d7.png">        <link rel="apple-touch-icon-precomposed" sizes="72x72" href="//instagramstatic-a.akamaihd.net/h1/images/ico/apple-touch-icon-72x72-precomposed.png/3f5e04d85488.png">        <link rel="apple-touch-icon-precomposed" sizes="114x114" href="//instagramstatic-a.akamaihd.net/h1/images/ico/apple-touch-icon-114x114-precomposed.png/29d68fc587d7.png">        <link rel="apple-touch-icon-precomposed" sizes="144x144" href="//instagramstatic-a.akamaihd.net/h1/images/ico/apple-touch-icon-144x144-precomposed.png/52fcc0fc09e4.png">            <link href="//instagramstatic-a.akamaihd.net/h1/styles/distillery/dialog-main.css/aaf7a1937bef.css" type="text/css" rel="stylesheet"></link>        <script src="//instagramstatic-a.akamaihd.net/h1/scripts/jquery.js/213ba890e802.js" type="text/javascript"></script>    <script src="//instagramstatic-a.akamaihd.net/h1/scripts/bluebar.js/57733d51aed5.js" type="text/javascript"></script>    </head>    <body class=" p-error dialog-404">                    <div class="root">                    <div class="page">                                                            <header class="top-bar top-bar-new">    <div class="top-bar-wrapper">        <div class="logo"><a href="/">Instagram</a></div>        <div class="top-bar-left">            <ul class="top-bar-actions">                <li>                    <a class="top-bar-home" href="/" label=Home><i></i></a>                </li>            </ul>        </div>                    <div class="top-bar-right account-state" id="top_bar_right">                <ul class="top-bar-actions">                                                            <li id="link_profile" class="link-signin">                        <a href="/accounts/login/" class="loginLink">                            <i></i>                            <strong>Log in</strong>                        </a>                    </li>                                    </ul>            </div>            </div></header> <!-- .top-bar -->                                                                    <div class="main">                        <div class="error-container">        <h2>Sorry, this page isn&#39;t available.</h2>    <p>        The link you followed may be broken, or the page may have been removed.        <a href="/">Go back to Instagram.</a>    </p>    </div>                </div> <!-- .main -->                            </div> <!-- .page -->                        <footer class="page-footer" role="contentinfo">                <div class="wrapper">                    <nav>                        <ul>                            <li><a href="/about/us/">About us</a></li>                            <li><a href="http://help.instagram.com/">Support</a></li>                            <li><a href="http://blog.instagram.com/">Blog</a></li>                            <li><a href="http://instagram.com/press/">Press</a></li>                            <li><a href="/developer/">API</a></li>                            <li><a href="/about/jobs/">Jobs</a></li>                            <li><a href="/legal/privacy/">Privacy</a></li>                            <li><a href="/legal/terms/">Terms</a></li>                        </ul>                    </nav>                    <p class="copyright">&copy; 2016 Instagram</p>                </div>            </footer>                            <div id="reactModalMountPoint"></div>    </div> <!-- .root -->                    <script src=//instagramstatic-a.akamaihd.net/h1/scripts/polyfills/es5-shim.min.js/6514c5e08593.js></script><script src=//instagramstatic-a.akamaihd.net/h1/scripts/polyfills/es5-sham.min.js/fc3c22cf2d67.js></script><script type="text/javascript">window._sharedData = {"country_code":"IR","language_code":"en","gatekeepers":{},"qs":"{\"shift\":10,\"header\":\"HIP20m4KAevmBgYEFtF75JMAUf3mRzju\",\"edges\":100,\"blob\":\"AQBl6fbtDPv2TMlYLXl8Ov9xtFDH3VcEvmNDRnxNsg2J8-z8GjjbDG70TssW_EYY956AmCFcuLjLiHmSNHghkqyl13SMFGjQ8i6ApTV2_fPQCkTy0nyzo-BcjLdn747QLvaPkiN6_dM75XVGNGVHcHMTHObg45DhnttOL0955lfYNEPunbVIiKqqgTWW-J10xWyo-BRC0vt66s7uvJYRL2h7q5B3mOpp_W-uxaan013Hew\",\"iterations\":7,\"size\":42}","show_app_install":true,"static_root":"\/\/instagramstatic-a.akamaihd.net\/h1","platform":"web","hostname":"api.instagram.com","entry_data":{},"qe":{"su":{"p":{"enabled":"true"},"g":"test_20160322"},"discovery":{"p":{},"g":""}},"display_properties_server_guess":{"viewport_width":360,"pixel_ratio":1.5},"config":{"viewer":null,"csrf_token":"NOTPROVIDED"},"environment_switcher_visible_server_guess":true};</script>        <script>!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script','//connect.facebook.net/en_US/fbevents.js');fbq('init', '1425767024389221');fbq('track', 'PageView');</script><noscript></noscript>        <script type="text/javascript">window._timings.domInteractive = Date.now()</script>    </body></html>BUILD SUCCESSFUL (total time: 2 seconds)
پاسخ‌ها به این تاپیک
stack programer
stack programer
۱۳۹۵/۰۱/۲۰
سلام،API راکه زدی برات یک صفحه html ریترن کرده پیغام داده
Sorry, this page isn't available.

The link you followed may be broken, or the page may have been removed. Go back to Instagram
یعنی سرویس اینستگرام داخل این لینک منسوخ شده!!
برای نوشتن ارر ها خیلی بزرگ هم می تونی از paste bin استفاده کنی
http://paste.debian.net/
b4hr4m
b4hr4m
۱۳۹۵/۰۱/۲۰
آقا ممنونم . اینو ندیده بودم .

در پاسخ به