Hello everyone!
I am trying to use the REST Twitter API with open frameworks and I am a little bit confused with how to set it up.
When I have been using API before I just put it like this:
string url = “https://myApil_Link_withMyPassword”;
bool parsingSuccessful = json.open(url);
if (parsingSuccessful) {
ofLogNotice("ofApp::setup") << "parse successful";
}else {
ofLogNotice("ofApp::setup") << "failed to parse JSON";
}
Now I have to put in the username and password for the api along with an access token and I have no clue how to do that, it doesn’t work to
just put in a link
I will be so grateful for those who would be able to help!
thanks