code: protected Instagram addResource(Type type, String value, float longitude, float lattitude, int distance,
                                      boolean exactMatch, String fourSquareLocation) {
          ResourceParams parameterSet = newResourceParams();
          switch (type) {
              case TAG:
                  if (value == null) {
                      throw new IllegalArgumentException("If type is user then value is required");
                  }
                  parameterSet.set("type", "tag");
                  parameterSet.set("value", value);
                  parameterSet.set("extact_match", exactMatch);
                  break;
          }
          return this;
      }
docs: /*
  Adds a resource object to the request of the given type, which is always required
  
  @param type the type of resource, all other params are optional dependent upon what this value is
  @return this