Skip to content

Commit

Permalink
Update login url
Browse files Browse the repository at this point in the history
The login wasn't working correctly because the url was wrong. The correct url should be https://www.instagram.com/accounts/login/
  • Loading branch information
odeialba authored Jun 27, 2019
1 parent 82e2268 commit 715a15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InstagramScraper/Endpoints.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class Endpoints
{
const BASE_URL = 'https://www.instagram.com';
const LOGIN_URL = 'https://www.instagram.com/accounts/login/ajax/';
const LOGIN_URL = 'https://www.instagram.com/accounts/login/';
const ACCOUNT_PAGE = 'https://www.instagram.com/{username}';
const MEDIA_LINK = 'https://www.instagram.com/p/{code}';
const ACCOUNT_MEDIAS = 'https://www.instagram.com/graphql/query/?query_hash=42323d64886122307be10013ad2dcc44&variables={variables}';
Expand Down

0 comments on commit 715a15f

Please sign in to comment.