I need to have Facebook posting and sharing from my ionic app. i have got one sample that you can post but it contains only text. i need to enhance it to image and links as well. please if someone can help me in this.
sample code can be found here.
http://coenraets.org/blog/2014/04/sociogram-angularjs-ionic-facebook/
window.open('https://www.facebook.com/sharer/sharer.php?u={{YOUR URL}}, '_system', 'location=yes');
and
window.open('https://www.twitter.com/share?url={{YOUR URL}}, '_system', 'location=yes');
Related
I need to know can I share photos with Facebook or Whatsapp using expo SDK? I try to do this but I can't find any solution for this. I also used the
react-native-fbsdk
it not works and gives an error like this.RTCFBLoginButton does not exist in UI Manager
Anyone have a suggestion please explain to me. thanks for advance!
react-native-fbsdk requires a link. However, Expo does not apply to Link. So you have to use ExpoKit in Expo. How to use it is located on the linked site. https://docs.expo.io/versions/v32.0.0/expokit/eject/
and For more information on sharing, please refer to the link at https://forums.expo.io/t/social-sharing/1764 below.
Please leave a comment for further questions.
I've created simple icons to share my blog posts on Facebook, Pinterest and Twitter. The Facebook link used to work, but now it doesn't. I'm not sure what to use for Pinterest. The Twitter link works just fine, although I'd like to include my Twitter handle.
Do you have any suggestions on how to get the Facebook link to work or what to use for Pinterest? Thank you.
Here's what I've been using:
<li><span class="icon-facebook-1"></span></li>
<li><span class="icon-twitter"></span></li>
Well, the sharer.php solution still works I think:
https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.buzzfeed.com
Or what exactly isn't working for you? For Twitter, I think the Tweet Web Intent might be a solution for you.
https://twitter.com/intent/tweet?text=Great%20link&url=http%3A%2F%2Fwww.buzzfeed.com
See
https://dev.twitter.com/web/tweet-button/web-intent
https://developers.facebook.com/docs/sharing/web
I am using facebook sharer.php, to share a link from my site to the facebook wall. Following is the url, I am using to get this done.
https://www.facebook.com/sharer/sharer.php?s=100&p[title]=title_to_be_shared&p[url]=link_to_be_shared&p[images][0]=image_path
I am aware that sharer.php is deprecated. But I have searched a lot to implement this share feature. I found only this. But in this, the images are not rendered properly in all cases. In some cases the images are not loading while sharing.
Please help me to overcome this. Or if there is another API to get this done please let me know...
Thanks in advance!
Regards,
Raju
The sharer.php method is deprecated and no longer supported. As far as I can tell, the best replacement for sharing a page of your site is the Feed Dialog.
Here i'm working with Google+ integration in IOS Apps..
I have gone through the Guidelines at link https://developers.google.com/+/mobile/ios/share
And I have succeeded in the following aspect.
-->>Sharing Text.
-->>Sharing URLs.
-->>Sharing App(Google+ App) icon and Description [Using deep linking].
But I have stuck in the following aspect.
-->>Sharing an Local or URL Image.
so..is there any possibility to share an image from iPhone app through Google+.
Please help me...
Thanks In Advance...
According to these discussions it is not possible yet:
iOS: Possible to send or post message in Google Plus
you may use -(id) setURLToShare: (NSURL *)urlToShare
https://developers.google.com/+/mobile/ios/api/protocol_g_p_p_share_builder-p#a0f2e350ef29af0eb3ed4771c12e54925
I hope it helps.
I am newbie to twiiter api with iphone and I am working on project in which I have to post logo type image in text post area in twitter.Like we can do in facebook Share functionality with the help of "attachments". so am asking may we post image as we can do in facebook post and if yes, how it will be done?
Have a look at twitters blog post here:
https://dev.twitter.com/docs/api/1/post/statuses/update_with_media
Heres also a discussion about it with some useful tips:
https://dev.twitter.com/discussions/1059
those tutorials end up with what you want: http://twitter.com/oauth_dancer/status/103216165765136386
Check this Twitter open source Project
http://code.google.com/p/tweetero/
Open Terminal - Enter : http://code.google.com/p/tweetero/source/checkout
i hope it consists of all twitter features.