@SneakyThrows
    public static String generateSignature(String payload) {
        String parsedData = URLEncoder.encode(payload, "UTF-8");
        // new Instagram version no longer signs requests
        return "signed_body=SIGNATURE." + parsedData;

    }
Generate signed payload

@param payload Payload
@return Signed string
src/main/java/com/github/instagram4j/instagram4j/utils/IGUtils.java