Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add instagram #131

Closed
wants to merge 5 commits into from
Closed

Conversation

zerezhka
Copy link
Contributor

Попробовал создать свой application в инсте (https://developers.facebook.com/docs/instagram-basic-display-api/getting-started)
Да, ui кривой-косой сейчас. Зато может быть в таком виде оно поможет кому-то меньше копаться в доке фейсбука (на заметку кабинет разработчика не работает с uBlock и ghostery, при создании аппа не отображается капча фейсбука)

все ссылки внутри Apps(oauth, удаление, деавторизацию) поставил https://www.clubhouseapi.com/api/update_instagram_username. Добавил свой инст. Логин происходит, но сам запрос к клабхаус-апи с 403 кодом отваливается

вынес в gradle.properties instagramAppId, чтобы для тех кто захочет ресерчить как это работает и не палить свой appID, а просто дописать строчку в local.properties в корне проекта

Завтра вечером ещё раз попытаюсь доделать. Если кому то поможет этот PR - кайф, нет - ну и ладно

@zerezhka
Copy link
Contributor Author

НЕ РАБОТАЕТ! но может помочь кому-то

@nationsorg
Copy link

nationsorg commented Feb 22, 2021 via email

@SaadAssa
Copy link

@zerezhka
Copy link
Contributor Author

great thanks @stypr

@zerezhka zerezhka changed the title DRAFT!!! add insta (but I don't know original app instagram clientID) DRAFT!!! add instagram Feb 24, 2021
# Conflicts:
#	Houseclub/build.gradle
#	Houseclub/src/main/java/me/grishka/houseclub/fragments/ProfileFragment.java
#	Houseclub/src/main/res/layout/profile.xml
@zerezhka zerezhka marked this pull request as ready for review February 28, 2021 19:36
@zerezhka zerezhka changed the title DRAFT!!! add instagram add instagram Feb 28, 2021
@zerezhka
Copy link
Contributor Author

todo CLEAR webwiew cache on unlink

.setCallback(new Callback<BaseResponse>(){
@Override
public void onSuccess(BaseResponse result){
instagram.setText(R.string.instagram_linked);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add user.instagram = null;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is incorrect. better is make request to update user (in all type of change situation)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plz can you give me your insta have alot of questions to ask you about

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zerezhka but it causes a bug, look what happens when you click after unlinking

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'll see, thx

@zerezhka
Copy link
Contributor Author

zerezhka commented Apr 3, 2021

my acc in CH was banned and I lost my debugging tool =( Maybe I create another, then I reopen PR

@zerezhka zerezhka closed this Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants