code: public Context getContext(String photoId, String userId) throws JinxException {
      JinxUtils.validateParams(photoId, userId);
      Map<String, String> params = new TreeMap<String, String>();
      params.put("method", "flickr.favorites.getContext");
      params.put("photo_id", photoId);
      params.put("user_id", userId);
      return jinx.flickrPost(params, Context.class);
    }
docs: Returns next and previous favorites for a photo in a user's favorites.
  <br>
  This method does not require authentication.
  
  @param photoId Required. The id of the photo to fetch the context for.
  @param userId  Required. The user who counts the photo as a favorite.
  @return object with context information.
  @throws JinxException if required parameters are null or empty, or if there are any errors.
  @see <a href="https://www.flickr.com/services/api/flickr.favorites.getContext.htm">flickr.favorites.getContext</a>