21 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
416
views
RedditExtractoR package: How to get content user from Reddit despite the error message (R)
I am using the RedditExtractoR package to obtain information about threads, users and comments on Reedit. I have a list with different authors, and I am using the function RedditExtractoR::...
0
votes
1
answer
128
views
Unable to post on to reddit despite having all correct credentials with snoowrap
Receiving an invalid grant error despite all credentials being correct. Does anyone know the routes I should post to and what headers and data I should include?
The code I tried is here:
exports....
0
votes
1
answer
829
views
Using the Reddit API, is it possible to return a list of comments if the submission title includes a specific keyword?
Using the Reddit API, is it possible to return a list of Reddit comments if the submission title includes a specific keyword? For example, if the keyword is "Lime Sparkling Water", I want to ...
2
votes
0
answers
143
views
Reddit Bot Stops commenting after certain time
I have been trying to make a bot that searches for a specific keyword in the reddit title, if that keyword is true it would then comment something in that thread. Everything works find, just I have ...
1
vote
0
answers
298
views
Post on Reddit using java API
I want to post on Reddit using java API.
I have created a username and password on Reddit and I have created an authentication token for the application.
I tried Jreddit but its one year old repo ...
2
votes
3
answers
1k
views
Pass object to another activity (without Parcelable?)
I need to pass object user to another activity. I know I should use Parcelable, but I can't edit User class, because it is used from maven repository.
Is it here any other way how can I pass user ...
1
vote
3
answers
5k
views
Using AsyncTask to login user
I need to get user and save it to variable.
public class MainActivity extends ActionBarActivity
{
User user = new LoginTask2().execute("");
}
class LoginTask2 extends AsyncTask<String, Void, ...
1
vote
0
answers
25
views
jReddit Application keeps crashing
I've got a problem. My app keeps crashing when I start it, but the logcat tells me nothing. I've tried try-catch but it still crashes without leaving something.
Here's my MainActivity.java:
...
0
votes
1
answer
38
views
jreddit returning unexpected results
Thanks a lot !
I got in working ,
The only problem I found is that when getting the comment id for the specific
submission it returns broken up comments ,
E.g
Reddit reddit = new Reddit("USER","...
0
votes
0
answers
66
views
Installing and running a maven project
After 2 days searching around the web for tutorials on running maven on intellij , I didn't find much and all the tutorial I tried returned some error ,
So can someone give me a step by step ...
-1
votes
1
answer
876
views
Maven project giving error
After setting up the project in intellij as a maven project like so ..
I set up my pom.xml file with a basic structure ...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www....
0
votes
1
answer
98
views
Importing Jar files for JReddit giving error
I get Errors when trying to import the jar files needed for Jreddit to function.
On jreddit's github page it says ...
Dependencies
JSON-simple
Apache HttpComponents
Apache Commons ...
0
votes
1
answer
98
views
HttpRestClient() via Proxy?
I am playing around and trying to learn how API works in java, currently messing around with the Reddit one: https://github.com/karan/jReddit
Code that I am trying out which works just fine: https://...
0
votes
1
answer
1k
views
jReddit and Java.lang.NoClassDefFoundError error
I would like to write application in Android Studio (v. 1.1.0) to browse reddit. I found API wrapper jReddit and would like to use it.
At first I just try to initialize RestClient (method is called ...
0
votes
1
answer
947
views
java.lang.NoSuchMethodError org.apache.http.client.entity.UrlEncodedFormEntity.<init> in Android Studio
I'm making a Reddit app using the jReddit wrapper and I'm having trouble with the apache http client throwing the above exception. My dependencies look like this:
and my libraries look like this:
I ...