src/main/java/org/jinstagram/InstagramBase.java
@Override
    @Deprecated
    public MediaFeed getRecentMediaByLocation(String locationId, String minId, String maxId, Date maxTimeStamp,
            Date minTimeStamp) throws InstagramException {
        Map<String, String> params = new HashMap<String, String>();

        if (maxTimeStamp != null) {
            params.put(QueryParam.MAX_TIMESTAMP, String.valueOf(maxTimeStamp.getTime() / 1000));
        }

        if (minTimeStamp != null) {
            params.put(QueryParam.MIN_TIMESTAMP, String.valueOf(minTimeStamp.getTime() / 1000));
        }

        if (minId != null)
            params.put(QueryParam.MIN_ID, minId);

        if (maxId != null)
            params.put(QueryParam.MAX_ID, maxId);

        String apiMethod = format(Methods.LOCATIONS_RECENT_MEDIA_BY_ID, locationId);

        return createInstagramObject(Verbs.GET, MediaFeed.class, apiMethod, params);
    }
@Override
    @Deprecated
    public MediaFeed getRecentMediaByLocation(String locationId, String minId, String maxId, Date maxTimeStamp,
            Date minTimeStamp) throws InstagramException {
        Map<String, String> params = new HashMap<String, String>();

        if (maxTimeStamp != null) {
            params.put(QueryParam.MAX_TIMESTAMP, String.valueOf(maxTimeStamp.getTime() / 1000));
        }

        if (minTimeStamp != null) {
            params.put(QueryParam.MIN_TIMESTAMP, String.valueOf(minTimeStamp.getTime() / 1000));
        }

        if (minId != null)
            params.put(QueryParam.MIN_ID, minId);

        if (maxId != null)
            params.put(QueryParam.MAX_ID, maxId);

        String apiMethod = format(Methods.LOCATIONS_RECENT_MEDIA_BY_ID, locationId);

        return createInstagramObject(Verbs.GET, MediaFeed.class, apiMethod, params);
    }
@ Override @ Deprecated public MediaFeed getRecentMediaByLocation ( String locationId , String minId , String maxId , Date maxTimeStamp , Date minTimeStamp ) throws InstagramException { Map < String , String > params = new HashMap < String , String > ( ) ; if ( maxTimeStamp != null ) { params . put ( QueryParam . MAX_TIMESTAMP , String . valueOf ( maxTimeStamp . getTime ( ) / 1000 ) ) ; } if ( minTimeStamp != null ) { params . put ( QueryParam . MIN_TIMESTAMP , String . valueOf ( minTimeStamp . getTime ( ) / 1000 ) ) ; } if ( minId != null ) params . put ( QueryParam . MIN_ID , minId ) ; if ( maxId != null ) params . put ( QueryParam . MAX_ID , maxId ) ; String apiMethod = format ( Methods . LOCATIONS_RECENT_MEDIA_BY_ID , locationId ) ; return createInstagramObject ( Verbs . GET , MediaFeed . class , apiMethod , params ) ; }
/* (non-Javadoc)
@see org.jinstagram.InstagramClient#getRecentMediaByLocation(java.lang.String, java.lang.String, java.lang.String, java.util.Date, java.util.Date)
/ * ( non - Javadoc )