Last active
October 21, 2017 11:20
-
-
Save Jianghao/6925f4d3c4a12fb4e7c80f490e048ee0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setCurl <- function(uid=1404376560, access_token="2.00X_6UXFwXYrFD089496f37cRKW2TB"){ | |
prefix <- "curl \".....................&request_data=" | |
suffix <- "&_t=0\" --compressed --connect-timeout 5 -m 10" | |
url <- paste0(prefix, "uid%3D", uid, "%26access_token%3D", access_token, suffix) | |
return(as.character(url)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment