Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Switch to Elogram #22

Merged
merged 9 commits into from
Mar 15, 2016
Merged

Switch to Elogram #22

merged 9 commits into from
Mar 15, 2016

Conversation

vinkla
Copy link
Owner

@vinkla vinkla commented Mar 9, 2016

The old Instagram package is dead. Instead we're going to move to the amazing Elogram by @hassankhan.

@vinkla vinkla self-assigned this Mar 9, 2016
@vinkla
Copy link
Owner Author

vinkla commented Mar 9, 2016

@hassankhan out of curiosity, why is the client class final?

@hassankhan
Copy link

Because I didn't think there'd be any reason to extend it, anything you need to change/set should be doable through the constructor.

Is there something I might be missing?

@florianbeer
Copy link

Neat! Elogram looks really well done. Shame that I just worked on updating the other package. Seems like I'll do another refactor tomorrow to integrate with this one.

@vinkla Are you going to hook into Laravel's session handling? http://elogram.readthedocs.org/en/latest/developers.html#nativesessionstore

@hassankhan
Copy link

Hi @florianbeer, thanks for the kind words!

To answer your question to @vinkla, yes, I'm pretty sure it will have to be integrated with Laravel, much like Facebook's SDK.

@vinkla
Copy link
Owner Author

vinkla commented Mar 10, 2016

@hassankhan thanks for explaining.

@florianbeer yeah, I'll look into that. Thanks for pointing it out!

@hassankhan
Copy link

Just had a look at the Travis test results, trying to see if there's a way I can help without having to remove the final statement.

Checking Mockery's docs, maybe try instantiating the Client and then passing to Mockery::mock()? According to the docs, it should work

@vinkla
Copy link
Owner Author

vinkla commented Mar 10, 2016

@hassankhan nope, didn't work. Thanks for reaching out though.

@vinkla
Copy link
Owner Author

vinkla commented Mar 15, 2016

@hassankhan the tests pass now. Now it is only the custom session handling left. Anything else we need to think of before going further?

@hassankhan
Copy link

Yep, pretty sure you only need to replace the session handling 👍

@vinkla
Copy link
Owner Author

vinkla commented Mar 15, 2016

@hassankhan okay, good 👍

vinkla added a commit that referenced this pull request Mar 15, 2016
@vinkla vinkla merged commit bbd3da6 into master Mar 15, 2016
@vinkla vinkla deleted the elogram branch March 15, 2016 20:05
@hassankhan
Copy link

Awesome work 😄 thanks for choosing Elogram!

@vinkla
Copy link
Owner Author

vinkla commented Mar 16, 2016

Thanks :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants