-
Notifications
You must be signed in to change notification settings - Fork 46
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 and remove close friend. #49
Comments
What methods are you referring to? You're able to add and remove followers. Have a look at https://github.com/NicklasWallgren/instagram-api/blob/master/src/Traits/MakeFriendshipsRequestsAccessible.php |
No, I'm not referring to add and remove followers, Instagram has a new feature to add a friend into a close friend list. I've tried to add a function inside your library to see if it's working or not, but my bad it's not working...
I've found the API code from the NODE API.
|
Alright, the following example seems to work. You are welcome to create a PR. The response looks like this.
MakeFriendshipsRequestsAccessible
FriendshipsFeaturesTrait
|
Hi Nicklaws, Thanks for your response. I'm still getting errors.
|
Hi Nick, Imran's here, with my another account. |
@hussainsheikh048 Does the |
here is the full error, the message details are below. (I think the error is for the serializer, like we're passing an array to request something)
|
Thanks. It's a bit strange, it works fine on my end, with the code posted above.
Could you dump the whole response body? |
What php version you’re using?
…Sent from my iPhone
On 19-Jul-2021, at 12:01 AM, NicklasWallgren ***@***.***> wrote:
Thanks. It's a bit strange, it works fine on my end, with the code posted above.
$instagram->addBestFriend(['2108351612']);
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hey, |
yea, it's working fine, i'll make PR soon. many thanks |
Hi Nick, You've any idea how to bypass two-factor authentication? |
Hey, you won't be able to bypass 2fa, but it's fully possible to add 2fa support by implementing the I don't have time to implement support for 2fa at the moment, so a PR is welcome. |
But it didn’t fill auto code
…Sent from my iPhone
On 20-Jul-2021, at 8:11 PM, NicklasWallgren ***@***.***> wrote:
Hey, you won't be able to bypass 2fa, but it's fully possible to add 2fa support by implementing the accounts/two_factor_login/ api endpoint.
I don't have time to implement support for 2fa at the moment, so a PR is welcome.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hey, You can get hold of the 2fa identifier from the response of the The response includes |
Hey, The identifier is present in the raw json response, but is not specified in the You can get hold of the raw response body at https://github.com/NicklasWallgren/instagram-api/blob/master/src/Response/Serializers/AbstractResponseSerializer.php#L56 |
Have you managed to get it working? |
I've not worked yet, but hopefully work tomorrow and make it work. |
I can confirm that @NicklasWallgren addition above is working...implemented and tested. |
Hi Nick, Still have an issue with the 2fa login,
Here is the actual function
That's still saying invalid parameter, is there something wrong?
|
Hey, |
@NicklasWallgren I can create PR, please give me permissions |
@xsinisa Thanks, feel free to open a PR. https://github.com/NicklasWallgren/instagram-api/pulls |
@xsinisa is it 2fa working for you? |
Hi,
Can we add/remove followers to close friends I've checked dilame repository supported.
https://github.com/dilame/instagram-private-api
The text was updated successfully, but these errors were encountered: