jtubert / 2by2

Double Exposure App
0 stars 0 forks source link

Sharing: posting to fb and instagram #189

Closed amintorres closed 10 years ago

amintorres commented 10 years ago

John, if we add a post to instagram icon in the photo creation flow. is it possible to post the photo from within our app? (I know you can do this for facebook) but never seen this done for instagram. i.e. one has to go to instagram to post, no?

jtubert commented 10 years ago

This is not possible to do. Intagram won't let u even upload a photo from instagram.com

amintorres commented 10 years ago

Makes sense, will have to be at the PDP level then. Let's make sure we add this once Joe lays down the pdp.

amintorres commented 10 years ago

/_04_Feed/PDP.psd John, should we only allow photo owners to share? Also, I think we should only do twitter which will link to pdp on web. Facebook which will link to pdp on web. And instagram. Instagram will post the photo with the #madewith2by2 hashtag.

amintorres commented 10 years ago

Some of this requires new functionality so, I can help the cloud code copy when thats in place. https://github.com/amintorres/2by2/wiki/Copy-for-Sharing

jtubert commented 10 years ago

screen shot 2014-03-24 at 11 43 20 pm

jtubert commented 10 years ago

Removed extra share that we don't need. So now we have SMS, EMail, Twitter, FB, Save to Camera roll and Instagram.

img_9651

amintorres commented 10 years ago

We need to tweak this and add some additional logic.

jtubert commented 10 years ago

I think we should allow messages, if I create a really cool image, I would wanna share it with people via email/SMS.

Technically I can restrict it so a user can only send their own photos, but with that logic isn't the same for FB/Tw/Insta?

amintorres commented 10 years ago

Like I said, I am cool with text message if it is only on one's own photo.

Sharing is different because when the image is shared, the url to give credit to the photographer travels with the photo. You are really posting the url more so than the image it self when you tweet or post to fb.

jtubert commented 10 years ago

Ok, I see your point

Sent from my mobile device

On Apr 5, 2014, at 12:02 AM, "Amin Torres" notifications@github.com wrote:

Like I said, I am cool with text message if it is only on one's own photo.

Sharing is different because when the image is shared, the url to give credit to the photographer travels with the photo. You are really posting the url more so than the image it self when you tweet or post to fb.

— Reply to this email directly or view it on GitHub.

amintorres commented 10 years ago

_Phase2/_assets/Sharing/

jtubert commented 10 years ago

So here are the icons you will get if the user shares their own image vs someone elses:

img_9653 img_9654

I will add your icons now. FYI I need 1x versions too.

jtubert commented 10 years ago

I thought there was a way to add custom icons...but can't figure out how. @JosephLin do you know if is possible? If not we would have to write this all from scratch or use something like:

https://github.com/romaonthego/REActivityViewController

jtubert commented 10 years ago

I looked a little more into this and it doesn't seem possible unless we create a custom solution (or use something like REActivity or https://github.com/sapheriel/RKActivity

Not sure is worth it just to change those icons.

amintorres commented 10 years ago

I wonder how this guy did it?, eve for instagram he has a custom icon. photo

amintorres commented 10 years ago

http://stackoverflow.com/questions/20029520/how-to-add-custom-buttons-to-uiactivityviewcontroller http://stackoverflow.com/questions/20891730/uiactivityviewcontroller-with-custom-uiactivity-displays-color-image-as-gray

See if this helps, otherwise am ok with the default for now.

jtubert commented 10 years ago

Those two links are not good. But thanks for trying :) It can be done, but you have to make it all custom.

That's how these two libs do it: https://github.com/sapheriel/RKActivity https://github.com/romaonthego/REActivityViewController

jtubert commented 10 years ago

ok, I am going to use https://github.com/sapheriel/RKActivity. Seems ok.

img_9666

jtubert commented 10 years ago

I put the assets here: Dropbox/2by2 (1)/_Phase2/_assets/Sharing/Archive.zip (includes a background image)

Can you customize all the attached images to your design?

JosephLin commented 10 years ago

it looks very iOS6-ish :(

amintorres commented 10 years ago

you have a better suggestion joe? Or is this something we can make look different?

On Tue, Apr 8, 2014 at 6:19 PM, Joseph Lin notifications@github.com wrote:

it looks very iOS6-ish :(

Reply to this email directly or view it on GitHubhttps://github.com/amintorres/2by2/issues/189#issuecomment-39908910 .

JosephLin commented 10 years ago

Writing a custom view is probably the only way. personally, I would just stick with the stock one :P

amintorres commented 10 years ago

Stock one?

amintorres commented 10 years ago

you mean, the default ones?

JosephLin commented 10 years ago

yeah

jtubert commented 10 years ago

You can fully customize this one, so we can make it look less ios6ish, but I agree with Joe, that is best to keep the default icons

Sent from my mobile device

On Apr 8, 2014, at 6:32 PM, "Joseph Lin" notifications@github.com wrote:

yeah

— Reply to this email directly or view it on GitHub.