How to make login with instagram and ContinueWebAuthentication

hello im make an application where user get login with facebook and instagram and get all his data into the app all photo .
i have created facebook login using facebook api  FacebookClient but i cant find any thing like this for instagram ....i have start coding for this u get instagram login page but after that i dont understand how get access token and user data ....
private void BtnInstagram_Click(object sender, RoutedEventArgs e)
string startUrl = "https://instagram.com/oauth/authorize/?client_id=" + "MYAPP ID "+ "&redirect_uri=http://none&response_type=token";
string endUrl = "http://none";
Uri startUri = new System.Uri(startUrl);
Uri endUri = new System.Uri(endUrl);
WebAuthenticationBroker.AuthenticateAndContinue(startUri, endUri);
public void ContinueWebAuthentication(WebAuthenticationBrokerContinuationEventArgs args)
WebAuthenticationResult result = args.WebAuthenticationResult;
if (result.ResponseStatus == WebAuthenticationStatus.Success)
// what code should be added here ??

Hi,
Have a look at this Sample App for getting Auth Token from Instagram in windows phone app. 
Also read the api documentation for more details from
here.
Pradeep AJ

Similar Messages

  • When you change PC how to make connection with iphone and new PC

    when you change PC how to make connection with iphone and new PC

    Yes, you can do it the same as any other database. The code would be similar.
    I'd also suggest you not to use the JDBC ODBC bridge for connection. There are other drivers available for that.
    Regards
    xH4x0r

  • How to make Login in php and PHPMYSQL

    HI ALL ,,     
    i am new in dreamweaver .. so i  made an login page in dreamweaver Cs4 but it looks like it dosent  have what i want .. i want to write the usrname  after the user login "" when he enter the username and the password right then login form  disappear and show "" Welcome username "" and how many visits did he do"" also I want to make forget password and send mails from time to other and send him mail when the user register and so on so can  you please help me ... thanks
    thank you please I need this very much

    hi i know that i am not good in php
    But when i did what you told me in this link it appears that i didn't get it or there is something wrong
    this error shows to me ...
    Notice:  Undefined variable: row_getUserDetails in E:\wamp\www\......\H.L\j.\tagarob 1.php on line 52
    Notice:  Undefined variable: row_getUserDetails in E:\wamp\www\......\H.L\j.\tagarob 1.php on line 52
    Welcome,
    thank you
    kareem

  • I reset my phone and it now receives calls that were meant for my husband. I know how to fix this with messaging and facetime, but can't seem to find how to make it stop with the calls. Please help.

    I reset my phone and it now receives calls that were meant for my husband. I know how to fix this with messaging and facetime, but can't seem to find how to make it stop with the calls. Please help.

    It may be due to Continuity
    The following quote is from  Connect your iPhone, iPad, and iPod touch using Continuity
    Turn off iPhone cellular calls
    To turn off iPhone Cellular Calls on a device, go to Settings > FaceTime and turn off iPhone Cellular Calls.

  • How to make google come up and not yahoo when i click anew tab

    how to make google come up and not yahoo when i click a new tab
    == This happened ==
    Every time Firefox opened
    == today

    You can use 1 of these add-ons
    [https://addons.mozilla.org/en-us/firefox/addon/newtaburl/?src=search
    NewTabURL ]
    [https://addons.mozilla.org/en-us/firefox/addon/new-tab-homepage/?src=search New Tab Homepage]
    with NewTabUrl you have more options
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Adobe Captivate 7 Project How to make Rollover cations, audio, and video work in HTML format?

    Adobe Captivate 7 Project How to make Rollover cations, audio, and video work in HTML format?

    Honestly, I don't even know why this is an option. The conversion to Flash is completely unusable.
    I have exported some things to Flash, and since I program in Flash all the time I was able to manipulate to work to some degree. Most text captions are built with multiple elements and completely fall apart.
    Sorry, I can't be of more help.

  • HT1933 My ex-boyfriend stole my email address and credit card information to make purchases with Apple and now my Apple ID account has a balance. Is there any way I can retract the purchases so I don't have to pay for his theft of my information?

    My ex-boyfriend stole my email address and credit card information to make purchases with Apple and now my Apple ID has a balance. Is there any way I can retract the purchases so I don't have to pay for his theft? I had no idea he had done this until I tried to sign in to the ITunes store and found all his information and a whole bunch of song purchases. I had to go to my email and reset everything. I only have a 2.10 balance due to him, but I just want to find out if there is a way to erase it because of this circumstance.

    You need to immediately pull credit reports to see what else he has done.  Then "freeze" the credit report at all three agencies.  That way even you need to lift the freeze to add credit cards or other credit items to your SSN.

  • How to make report with access 2010 from SharePoint Discussion lists 2013

    HI,
    I want to make an access report from SharePoint Discussion lists 2013. When i open the list with access, the body of the list is in HTML format in access. Also if i reply something to one subject in the discussion, the reply is not mapped to that subject
    but instead it is shown as a separate entry in the database.
    Anyone can please help?
    SAN
    Santhiya
    Santhiya

    Hi Santhiya,
    I have seen a similar post from you, my understanding is that you wonder that the reply is mapped to the related subject. You can take a look at Daniel's reply in the following thread:
    http://social.technet.microsoft.com/Forums/en-US/dfb5bcb9-0076-412a-b34f-46aa9cfba876/how-to-make-report-with-access-2010-from-sharepoint-discussion-lists-2013?forum=sharepointgeneral
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to make an checkbox editable and uneditable within a single alv output.

    Hi,
    How to make an checkbox editable and uneditable within a single alv output depending on condition.
    I have used Reuse_alv_grid_display.
    In my output every checkbox is editable. i have used edit = 'X'.
    I want editable checkbox for correct value and uneditable checkbox for incorrect value in a single alv

    >
    Mukilansap wrote:
    > I want editable checkbox for correct value and uneditable checkbox for incorrect value in a single alv
    Use alv styles to achieve this, set the style for each record before displaying the ALV. Structure LVC_S_STYL.
    Take a look at the example BCALV_EDIT_02, it is OOPS based, but check how the style table is filled.
    regards,
    Advait

  • How to make images fade in and out

    how to make images fade in and out continuously

    HI,
    The Ken Burns effects can do this nicely. Available in the iLife suite of software.
    iLife 06 minimum requirements:
    http://support.apple.com/kb/HT2675
    iLife 06 - Amazon
    Carolyn

  • How to make custom binary module and add to powershell?

    How to make custom binary module and add to powershell?
    I wish to add 'Microsoft.SharePoint.Client.dll' in powershell as binary module so I can use its intellisense.

    Hi Biraj,
    I replied to this in other thread
    https://social.technet.microsoft.com/Forums/en-US/a13c9cc8-7d53-46b5-b5bb-65404db2d347/how-to-make-intellisense-enable-in-powershell-in-csom-for-sharepoint-online?forum=sharepointdevelopment
    Kind Regards,
    John Naguib
    Senior Consultant
    John Naguib Blog
    John Naguib Twitter
    Please remember to mark this as answered if it helped you

  • Cant login with sap* and pass

    Hi,
    I created a new entry in SCC4 for new client 100 in nw2004s and now i saved them and tried to login with 100 client sap* and password as pass, but i am not able to login with this default password for client copy.

    Surya,
    In NW2004s by default the "automatic" SAP* user is not created.  This is controlled by a parameter setting in the profile, which you can edit with RZ10.  Open the instance profile, create parameter "login/no_automatic_user_sapstar" and set the value to 0.  Save and activate the profile, restart your system, and now you'll be able to login with SAP* and pass.
    After you finish the client copy, you may want to deactivate this parameter again, for security.
    --Matt

  • How to make Login Page in ADF?

    Hi,
    Can anyone suggest me, how to make Login Page in ADF.
    I am new on ADF, is any sample code or application is there than it will be helpful for me.
    please reply its urgent.
    Thanks,
    Ramit Mathur

    HI,
    Jspx code
    <af:panelFormLayout id="pfl1" binding="#{loginBean.mainForm}">
    <f:facet name="footer"/>
    <af:inputText label="Username" id="it1"
    value="#{loginBean.username}"
    binding="#{loginBean.usernameId}"
    required="true"/>
    <af:inputText label="Password" id="it2" secret="true"
    value="#{loginBean.password}"
    binding="#{loginBean.passwordId}"
    required="true"/>
    <af:spacer width="1px" height="20px" id="s3"/>
    <af:panelGroupLayout id="pgl3">
    <af:commandButton text="Submit" id="cb1"
    action="#{loginBean.doLogin}"/>
    <af:spacer width="85px" height="1px" id="s4"/>
    <af:commandButton text="Cancel" id="cb2"
    action="#{loginBean.clearFields}"/>
    </af:panelGroupLayout>
    </af:panelFormLayout>
    BackingBean code
    public String doLogin() {
    String un = _username;
    String pw = _password;
    // byte[] pw = _password.getBytes();
    FacesContext ctx = FacesContext.getCurrentInstance();
    System.out.println("ctx" + ctx);
    HttpServletRequest request =
    (HttpServletRequest)ctx.getExternalContext().getRequest();
    CallbackHandler handler = new SimpleCallbackHandler(un, pw);
    System.out.println("Handler" + handler);
    try {
    Subject mySubject = Authentication.login(handler);
    System.out.println("mySubject" + mySubject);
    ServletAuthentication.runAs(mySubject, request);
    ServletAuthentication.generateNewSessionID(request);
    String loginUrl =
    "/adfAuthentication?success_url=/faces" + ctx.getViewRoot().getViewId();
    System.out.println("loginUrl---" + loginUrl);
    HttpServletResponse response =
    (HttpServletResponse)ctx.getExternalContext().getResponse();
    System.out.println("response---" + response);
    // loginUrl = "/adfAuthentication?success_url=/faces/WelcomeScreen1.jspx";
    sendForward(request, response, loginUrl);
    System.out.println("---" + response);
    } catch (FailedLoginException fle) {
    FacesMessage msg =
    new FacesMessage(FacesMessage.SEVERITY_ERROR, "Incorrect Username or Password",
    "An incorrect Username or Password" +
    " was specified");
    ctx.addMessage(null, msg);
    } catch (LoginException le) {
    reportUnexpectedLoginError("LoginException", le);
    return null;
    private void sendForward(HttpServletRequest request,
    HttpServletResponse response, String forwardUrl) {
    FacesContext ctx = FacesContext.getCurrentInstance();
    System.out.println("sendForward--ctx--" + ctx);
    RequestDispatcher dispatcher =
    request.getRequestDispatcher(forwardUrl);
    System.out.println("sendForward--dispatcher--" + dispatcher);
    try {
    dispatcher.forward(request, response);
    } catch (ServletException se) {
    reportUnexpectedLoginError("ServletException", se);
    } catch (IOException ie) {
    reportUnexpectedLoginError("IOException", ie);
    ctx.responseComplete();
    // 12.Implement a reportUnexpectedLoginError() method:
    private void reportUnexpectedLoginError(String errType, Exception e) {
    FacesMessage msg =
    new FacesMessage(FacesMessage.SEVERITY_ERROR, "Unexpected error during login ",
    "An incorrect Username or Password" +
    " was specified");
    FacesContext.getCurrentInstance().addMessage(null, msg);
    e.printStackTrace();
    }

  • Login with id and pw

    I login with my id and pw to the web page http://www.mycomp.com/DATA/db/index.cfm?action=edit
    If I open another browser tab, I need to login with the same id and pw again.
    How to make my index.cfm keep track of the fact that I had already logged in?
    Any hint or related tutorial will be much appreciated.
    ColdFusion version is 6.1.
    I think I should do it with session variables so I am looking at:
    http://www.adobe.com/livedocs/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML /sharedVars5.htm
    The HTTP session is captured as follows:
    http://www.mycomp.com/DATA/db/index.cfm?action=act_proposal_edit
    POST /DATA/db/index.cfm?action=act_proposal_edit HTTP/1.1
    Host: www.mycomp.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Proxy-Connection: keep-alive
    Referer: http://www.mycomp.com/DATA/db/index.cfm?action=edit
    Cookie: pmycomp-id=198.103.196.130.1282935108536569; CFID=32002; CFTOKEN=56751797; __utma=163983085.57742683.1284751128.1284751128.1284751128.1; __utmc=163983085; __utmz=163983085.1284751128.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 59
    act=editProposal&Proposal_ID=928&Password=xyz12345&submit=Login
    HTTP/1.1 200 OK
    Date: Thu, 23 Sep 2010 13:38:41 GMT
    Server: Apache
    Content-Type: text/html;charset=iso-8859-1
    Transfer-Encoding: chunked
    http://www.mycomp.com/css/base-institution.css
    GET /css/base-institution.css HTTP/1.1
    Host: www.mycomp.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
    Accept: text/css,*/*;q=0.1
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://www.mycomp.com/DATA/db/index.cfm?action=act_proposal_edit
    Cookie: pmycomp-id=167.33.55.107.1281364460396256; __utma=214597780.1670341042.1281367441.1285182047.1285186388.34; __utmz=214597780.1285182047.33.12.utmcsr=www.mycomp.com|utmccn=(referral)|utmcmd=referral |utmcct=/DATA/db/index.cfm; JSESSIONID=F5E2381CF84FCA6E53ACAC9878A658DE; __utmc=214597780

    Take a look at the "Securing Applications" section of the CF docs.
    http://livedocs.adobe.com/coldfusion/6.1/htmldocs/appsecur.htm
    You may wish to use the CFLOGIN and related tags/functions to secure your site.

  • Adobe Creative Cloud - How To Share Files With Clients and Colleagues | Creative Suite Podcast: Designers | Adobe TV

    In this episode of the Adobe Creative Suite Podcast, Terry White shows how to share Photoshop, Illustrator and InDesign Files with clients and colleagues and all they'll need is a browser to comment and see your Photoshop Layers.
    http://adobe.ly/10ZjpE4

    Terry,
    I guess I miss something. How can I share a folder of photos? When I return from a shoot, I select 20 of the pictures and need to share them with my client to pick up the favorites. Am I supposed to copy and past an URL for each image separately?
    Sometimes I also work with a colleague, I need to share my favorites with him. Same issue.
    We have tried Adobe Cloud, and then went for Dropbox. There we can share a folder and he can put even his pictures in it as well. That's what I call collaboration. And it is free (unlike Adobe Cloud). If you have some word in Adobe, please tell them to either drop it and make a deal with services like Dropbox, or make it properly.
    Thanks.
    Vaclav

Maybe you are looking for