Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Asanka Nissanka
    @asanka-x
    Hey @vstirbu another small question. Can we use this passing only a caption and not including an image (null or empty) ??
    because in my use case, i need only to have a caption, so the user can take the image from the instagram app itself
    Vlad Știrbu
    @vstirbu
    @asanka-x that is an interesting case, i have not thought before about it. the assumption is that you start by sharing an image. actually, the caption was added latter.
    @kunalnagar so, you don't get the log even after returning to the app? what os are you on? can you try also with the test application https://github.com/vstirbu/instagramplugin-example
    Kunal Nagar
    @kunalnagar
    @vstirbu after posting the image, i can only return to the app by going to the multi-tasking menu and clicking on my original app. And when that happens, i always get the "err" object.
    im running android 5.1 on a nexus 5
    Vlad Știrbu
    @vstirbu
    @kunalnagar looks like this vstirbu/InstagramPlugin#31 Instagram app might not play that nice with its activity return codes
    Kunal Nagar
    @kunalnagar
    @vstirbu i understand. the thing is i am unable to get the "share successful" state no matter how i work with the app. if i return to the original app, it always gives an error state. do you think this is fixable in the near future?
    Vlad Știrbu
    @vstirbu
    It all depends on the result returned from app. The plugin worked fine untill instagram changed the flow of the successful share when it does not return to the app
    Asanka Nissanka
    @asanka-x
    @vstirbu Is opening sharing screen possible in instagram ? If so will you be adding that in future ?
    Daksa Media.Inc
    @daksamedia
    is it possible to login to Instagram without using angularJS or Ionic Platform?
    Vlad Știrbu
    @vstirbu
    yes. use https://github.com/nraboy/ng-cordova-oauth. the ionic/angularjs plugin is just a wrapper for this one.
    Daksa Media.Inc
    @daksamedia
    how could I get the API to get user's information?
    any sample?
    Vlad Știrbu
    @vstirbu
    use the access token to make a request to /users/self
    Daksa Media.Inc
    @daksamedia
    how to make a request by using this plugins?
    Vlad Știrbu
    @vstirbu
    You dob't have to use any plugin. It would be a standard http request augmented with the access token obtained earlier.
    Daksa Media.Inc
    @daksamedia
    So, I need to direct the user to the access token link?
    Vlad Știrbu
    @vstirbu
    nope. you have to craft yourself a xhr/ajax request. more info here about the endpoints: https://instagram.com/developer/endpoints/users/
    Daksa Media.Inc
    @daksamedia
    is this similiar way as we get api from facebook ?
    Kunal Nagar
    @kunalnagar
    @vstirbu is there a way to go to the crop view in Instagram rather than the edit view directly? I'm trying to use external URLs and send its data URI to this API. The Instagram docs say that we need to save the image locally first and then send it to the app?
    Kunal Nagar
    @kunalnagar
    I'm getting the following error while sharing to Instagram: "Attempt to get length of null array"
    Device: Nexus 6, Version: 5.1.1. I get the Data URI successfully
    Vlad Știrbu
    @vstirbu
    which line is the error?
    Kunal Nagar
    @kunalnagar

    I get the error in the callback. It prevents the Instagram app from opening as well.

    Instagram.share(datauri, function(err) {
        console.log(err); // ERROR: Attempt to get length of null array
    });

    I restarted the phone and it worked fine though. Not sure what the issue is.

    spottuit
    @spottuit
    I am trying to get this plugin working,but even the example of the plugin doesn't work :worried: . The error I get from Instagram.share is: "Share Cancelled". There also appears a gray rectangle with the text: "can't load image".
    spottuit
    @spottuit
    The problem was that I hadn't shared a photo before on Instagram so I had to allow access to my photos for the Instagram app.
    testingtry
    @testingtry
    @vstibu is there any way to go to edit view directly rather than crop view in Instgram image filters??
    Vlad Știrbu
    @vstirbu
    @testingtry not sure it is possible. that part is handled by the Instagram app and is outside our control
    testingtry
    @testingtry
    @vstibu, Okay thanks for the reply
    testingtry
    @testingtry
    @vstirbu ,Hi Again,Is there any way to have have Library,Photo,Video options in cropphoto filter page in InstagramPlugin,Instead of Crop the photo text can we load library images??Is there any way to do that??
    SamiAibeche
    @SamiAibeche
    blob
    Hi :) I have some question about the InstagramPlugin, when I Build the basic example on Adobe PhoneGab Build, I have one "alert()" box, but nothing is share on Instagram
    Does anyone sees the problem ?
    Vlad Știrbu
    @vstirbu
    the canvas in the background looks correct, but there is no alert call in the example application. You also must have the Instagram application installed on your device. lastly, the alert is blocking, what happens after you press ok?
    SamiAibeche
    @SamiAibeche
    Nothing :/
    This is a screenshot from my Iphone, I have Instagram for sure
    Maybe I need to register my CLIENT ID before ?
    SamiAibeche
    @SamiAibeche
    First, when I open the app, I see this :
    IMG_1543.PNG
    Vlad Știrbu
    @vstirbu
    you don't need any client id. is just the example app working when you build it with PG Build?
    SamiAibeche
    @SamiAibeche
    Yes, first I compress the folder, second I submit the Zip folder on https://build.phonegap.com
    Oh sorry, no that's not working if I build your Example, nothing works
    SamiAibeche
    @SamiAibeche
    If I follow the steps like your https://github.com/vstirbu/instagramplugin-example.git, I gone to https://build.phonegap.com for build the compress file
    And then, when I open the app :
    blob
    When I click OK ->
    blob
    When I click OK - >
    blob