instagram = ServiceConnect["Instagram"]

enter image description here

ServiceExecute[conn,"request",params] sends a request to the connection identified by conn, in my example it is Instagram. This seemed like it would be cool functionality in v10. But almost all queries that I form return missing, incomplete, or just wrong data.

Note: I have elided the data for privacy, but rest assured the UserID's are correct.

Bugs with this functionality are quite simple indeed to reproduce:

Search for a user:

In[3]:= instagram["UserData", "UserID" -> 10206720]

Out[3]= <|"Website" -> "http://barackobama.com", "Username" -> "barackobama", 
 "FullName" -> "Barack Obama", "Media" -> 179, "FollowedBy" -> 3347187, 
 "Follows" -> 11, "ID" -> "10206720"|>

Import recent media from a user:

In[5]:= instagram["FollowerCount", "UserID" -> 10206720]

Out[5]= 50 
  • 3
    $\begingroup$ What is the definition of instagram? $\endgroup$ – Michael E2 Aug 7 '14 at 23:30
  • $\begingroup$ this comment made me laugh so hard. $\endgroup$ – seismatica Aug 8 '14 at 0:14
  • $\begingroup$ please see my above edit $\endgroup$ – M.R. Aug 8 '14 at 0:30
  • $\begingroup$ seems that 50 != 3347187 $\endgroup$ – M.R. Aug 8 '14 at 0:31
  • 3
    $\begingroup$ Hi M.R., please do not use the bug tag until it has been confirmed as a bug. Also, you have been around for long enough to know how to format code and provide definitions of any custom functions. Unless we know the definition of instagram, which does not appear to be a built-in function, we can't help you. It appears to be the name you have given to an Association, but this needs to be clearer in the question. $\endgroup$ – Verbeia Aug 8 '14 at 0:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.