I’m getting 401 when POSTing to “friendship/create” using Twitter4j’s “createFriendship(String userName, boolean follow)”
The OAuth credentials I’m using work for other calls (namely “lookupUsers(String screenNames)” “getUserTimeline(String userName)”).
I’ve tried the suggestions of other threads. Specifically, the app associated with these credentials has:
1). All of its Settings fields declared (CallbackURL, etc.).
2). Its Permissions are set to “Read, Write and Access direct messages”.
3). The Keys and Access Tokens were regenerated after those attributes were set.
My system clock seems to be set properly.
Are there any other ideas about what might be causing this call to fail?