Skip to content

Commit

Permalink
the problem has been solved
Browse files Browse the repository at this point in the history
  • Loading branch information
FdevTech committed Mar 31, 2021
1 parent 17b9c36 commit 7cc98d6
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ public class UnsplashWebServiceLoginModel
private String clientSecret="TVnudFDwuYEJuL0GvB8qcCAR9Vqsr14GcMYVwa8B0OM";
private String redirect_uri="curta://callback";

private String url="https://unsplash.com/oauth/authorize?client_id="+clientID+"&redirect_uri="+redirect_uri +
"&response_type=code&scope=public read_user write_user read_photos write_photos write_likes write_followers read_collections write_collections";
/*private String url="https://unsplash.com/oauth/authorize?client_id=yrnk1pXnbDXXE4MYt_vk0sB5fMWJkVMvokLv16zkG7w&redirect_uri=curta://callback&response_type=code" +
"&scope=public read_user write_user read_photos write_photos write_likes write_followers read_collections write_collections";*/
/*private String url="https://unsplash.com/oauth/authorize?client_id="+clientID+"&redirect_uri="+redirect_uri +
"&response_type=code&scope=public read_user write_user read_photos write_photos write_likes write_followers read_collections write_collections";*/

private String url="https://unsplash.com/oauth/authorize?" +
"client_id=U4e3aiPSmYENZTwqMYUMv1P2XftujdL6byd9e_jM_UI&" +
"redirect_uri=curta://callback&" +
"response_type=code" +
"&scope=public read_user write_user read_photos write_photos write_likes write_followers read_collections write_collections";
public UnsplashWebServiceLoginModel(Context context)
{
mLoginStateModel=new LoginStateModel(context);
Expand Down

0 comments on commit 7cc98d6

Please sign in to comment.