I'm tackling a problem relating to sharing on facebook, please help me do it.
In my app, a list of video, photo posted by my friends (facebook) appear and I want to add a share button for that. How can I do that?
I can implement a posting method for external picture (another website, not facebook) but only thumbnail will appear, and text doesn't appear like sharing on web browser (big picture, gray vertical line on the left).
the attached image is to represent for sharing post that I want.
Finally, after searching around and testing, I found the solution:
- use grapth api: me/feed
- possible parameters: message and link; link points to the page containing photo/video u want to share while message is your custom message.
Related
So I programmed in the SLComposeViewController for Social Framework to add a FB share button. From Google I found the Facebook logo that I used as a UIImage to place on top of the FB share button. When the user clicks on the FB share button there's a link to my app store page. The user can either type a message up or not and click POST to post that message on their Facebook pages. When they post that message they will see my App store page link there too.
Does app contain, display, access third party content
I'm trying to submit my app for review, do I click YES or NO for...
If I click YES then I need to get permission. Who do I get permission from? Google for finding a Facebook logo on their site or Facebook for using their logo to post message to their site?
Just visit facebook here and read this about how what to do, this will explain what they want YOU to do with branding and HOW their logo should appear, they also give you access to download their own image assets to use, they are very high quality:
https://www.facebookbrand.com/
And no, I doubt your app would qualify you for a YES to the App Store question, I'll have to find some very recent examples of this for you, but I wouldn't worry about this at all for your purposes.
And for fun and to make sure people see this, here's more brand assets:
Twitter: https://about.twitter.com/company/brand-assets
Instagram: https://www.instagram-brand.com/
Google: https://developers.google.com/+/branding-guidelines?hl=en and http://gplus-brand.appspot.com/
Apple: https://developer.apple.com/app-store/marketing/guidelines/
Tumblr: https://www.tumblr.com/logo
Youtube: http://www.youtube.com/yt/brand/
Reddit: https://www.reddit.com/about/alien/
Pinterest: https://business.pinterest.com/en/brand-guidelines
LinkedIn: https://brand.linkedin.com/
Yahoo: https://info.yahoo.com/press-center/logos-images
And how about some Brand asset colors as well:
http://jgthms.com/social-media-assets/
And a whole huge list of brand assets:
http://findguidelin.es/
I'm fighting with UIActivityViewController in iOS 8. I'd built a custom Pinterest sharing mechanism which works beautifully in iOS 7 -- specifically, it uploads an image to my server, and then creates a Pin with that image and a URL which I specify. This is the desired functionality.
Now, in iOS 8, Pinterest has implemented its own sharer, which accepts either a URL or an image. If a URL is included in the list of Activity Items, the sharer pops up and asks the user which image s/he wants to share from the page at that URL, and totally ignores the image which is also in the list of Activity Items. If there's no URL, and just the image, then the uploaded pin doesn't include a URL.
In order to resolve this, I need to do one of these things:
Disallow Pinterest's sharer from appearing in the list, so my customized sharer can show up instead;
Somehow specify a Source URL within a pin of an image using Pinterest's sharer (I doubt this is possible);
Remove all the other images from the generated web page. I'd really rather not do this.
Or if all else fails, it would be useful to at least be able to detect if the user has Pinterest's sharer selected to show up in their list.
Does anyone know if there's a way to achieve any of these things?
Just an idea, you could set a custom UIActivitySource on your UIActivityViewController.
Then check the incoming activity type for Pinterest. Then disable that via the exclusions.
I'm working with Adobe DPS buttons and currently have set up Facebook and Twitter sharing with them. The buttons take a URL and when clicked pull up the share dialogue.
The Facebook taking the following
http://www.facebook.com/sharer/sharer.php?u=(encoded url goes here)
The encoded url being whatever I want to share.
I want to be able to do this with Houzz.
I've found the page on Houzz.com but I don't think I would be able to use this type of URL share option based on what they provided.
http://www.houzz.com/buttonsAndBadges#houzzbutton
Has anyone seen an option for Houzz similar to Facebook's?
After digging through Houzz's bookmarklet, I've found their somewhat difficult-to-pin-down sharer URL.
http://www.houzz.com/imageClipperUpload?imageUrl=(IMAGE-URL-HERE)&title=(PAGE-TITLE-HERE)&link=(PAGE-URL-HERE)
Just as a quick reminder: an image URL is required (unlike Facebook or Twitter, but somewhat like Pinterest) as one of the main points of Houzz is image sharing/scrapbooking.
I hope this helped someone!
I am developing an iOS app that uses the UIActivityViewController to share some text and a Url. In the Facebook and Twitter services it shows a thumbnail of the site located at the URL.
Unfortunately, the site in question does not look very good at all in the thumbnail. So currently the thumbnail has a negative value in the share dialog. I would either like to prevent the thumbnail from displaying, or supply my own image for the thumbnail. What is the best method to do this?
I would like to avoid having to create my own service and/or dialog.
I have tried adding an image to the item list, however that adds a bunch of services I don't want and adds the Image to the email action and adds the image to a photo album on facebook. The first problem I can get around by blacklisting actions I don't want. And I can make my own UIActivityItemProvider to stop the email problem. However, I have no idea how to prevent the facebook problem. (See How do I customize a UIActivityViewController to show a URL link when posting to facebook and twitter?).
Here is a screenshot of the facebook sharing dialog:
I'm writing an iOS app that produces an image, and we'd like the user to be able to post that image to their Facebook wall using the standard facebook dialog.
The Facebook iOS SDK provides a dialog for posting to a user's wall, using the dialog:withParams:andDelegate: method, and you can provide the URL of a picture in the params argument. However, that's no good to me - I want to send off an image that exists only on the phone.
The SDK also provides a way to post an image to a user's wall, using the requestWithGraphPath:andParams:andHttpMethod:andDelegate: method. But that's no good to me either - I want to use the standard dialog.
Is there a way for me to send the image data with an FBDialog?
You need to do a photo upload first, with a graph call to '/me/photos' - this will be in an album that your app will have to create, not an existing one (unless your app created it).
That will return you the photo id, which you can then hit the graph again with a call to that specific id: 'https://graph.facebook.com/RETURNING_PHOTO)ID'
This will return name, picture, source, link (and a bunch of other stuff) - you can then use the picture (which is a thumbnail) in your wall post as the picture and add the URL to the source (big image) or use the link to the photo in the album (link) inside your message text.
Hope this helps,
-J