share

facebook share button with custom title, description, and image [duplicate]

荒凉一梦 提交于 2019-12-20 20:03:27
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: How does Facebook Sharer select Images? It looks like that the Facebook support custom title, description, and thumbnail in several ways. So far, I have found two solutions. using meta tag [meta name="title" content="title" /] [meta name="description" content="description" /] using URL parameters. [a href='http://www.facebook.com/sharer.php?s=100&p[title]=WEB1CHANNEL&p[summary]=Web+Design+Company+in+Dubai.&p[url

How to implement share via option in android?

大兔子大兔子 提交于 2019-12-20 09:49:06
问题 I want to implement something like this. It should not be hard coded. If user haven't installed Dropbox there should not be a option to share via Dropbox. Thanks in advance ! 回答1: You can do the same by using: Intent i=new Intent(android.content.Intent.ACTION_SEND); i.setType("text/plain"); i.putExtra(android.content.Intent.EXTRA_SUBJECT,"Subject test"); i.putExtra(android.content.Intent.EXTRA_TEXT, "extra text that you want to put"); startActivity(Intent.createChooser(i,"Share via"));

Facebook and twitter share for mobile web

≯℡__Kan透↙ 提交于 2019-12-20 08:19:35
问题 Is there a special url for sharing to Facebook and Twitter for mobile? Or are they the same as those from websites? Using <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <a href="javascript:return false;" rel="nofollow" onclick="window.open('https://twitter.com/share?text=sometext&url=someurl', 'Twitter', 'toolbar=0,status=0,width=626,height=436')">Twitter</a> for Twitter and <script> function fbs_click() { u='www.something'; t='title'; window.open('http:

Facebook Doesn't appear on share windows when trying to share an Image

拜拜、爱过 提交于 2019-12-20 07:35:41
问题 I create a bitmap in my app and want to share it via email apps or Facebook using Intent.ACTION_SEND. the share window opens and gmail and yahoomail apps icon appear but no facebook or g+! I really doesn't know what's the problem. There is another problem that gmail app cannot attach the file (created from bitmap). I read a few similar questions but still I'm stocked. Help me please. here is my code for sharing: private static File writePhotoPng(Bitmap data, String pathName) { File file = new

Alfresco Creating a new user group that permits only creating user and groups

烈酒焚心 提交于 2019-12-20 03:15:32
问题 I want to create a new user group . The members in this user group can create new users and new groups. I think creating users or groups require admin permission. This user group does not have other admin permission except creating, editing and deleting user,group. Does alfresco provide this kind of group in alfresco community 4.0c? How can I implement it? How to add a new group with specified permission? I really appreciate for help. 回答1: You could add a custom role in permissionDefinitions

Share on Linkedin using the SDK for iOS doesn't work

喜夏-厌秋 提交于 2019-12-20 03:10:49
问题 I'm using the mobile SDK for iOS (Version:1.0.7) to share something on LinkedIn . I can get the current account information, but when I try to share on LinkedIn ,it always feedback the error description. This is my code: let url:String = "https://api.linkedin.com/v1/people/~/shares" let payload:String = "{\"comment\":\"Check out developer.linkedin.com! http://linkd.in/1FC2PyG\",\"visibility\":{\"code\":\"anyone\"}}" if LISDKSessionManager.hasValidSession(){ LISDKAPIHelper.sharedInstance()

xCode 4 “File not Found” when creating .ipa with core-plot library

倖福魔咒の 提交于 2019-12-20 02:12:57
问题 I have my app ready to ship, and I can not create the .ipa I need to do so. I have reproduced my problem in a very small example. 1) Create a new project (I used a Nav Bar application). 2) Build for Archive 3) Share. .ipa creates at specified location. 4) download / install core-plot ( http://code.google.com/p/core-plot/downloads/detail?name=CorePlotInstaller_0.2.2.zip&can=2&q= ) 5) Use method 2 for adding library 5a) Copy the CorePlotSDK directory to ~/Library/SDKs/ 5b) Add to your project's

Get 'unc' path in OSX of mounted share

你。 提交于 2019-12-19 11:37:09
问题 In python I am trying to get the 'unc' path or server path of a mounted share. So I have a mounted share of: /Volumes/D How do I resolve to this with Python: //192.168.0.7/D Cheers. 回答1: After looking into df , I came up with this which works excellent on OSX: from subprocess import Popen, PIPE df = Popen('df -P /Volumes/link/to/some/folder', shell=True, stdout=PIPE) serverAddress = df.stdout.readlines()[1:][0] serverAddress = serverAddress.split('@')[1] serverAddress = serverAddress.split('/

Share Intent with Bluetooth Option Only

跟風遠走 提交于 2019-12-19 03:12:24
问题 I am trying to send a file over bluetooth using my app. I already changed the mime type to something random as asdxasd/asdxa And the file has an extension that I need to use, that is .sso When I use the share intent it only appears the bluetooth and gmail option, but can't I delete the gmail option from the list ? Thanks alot in advance! I am using this code to send it using the intent: file = new FileSystem(this).saveTemp(); Intent sharingIntent = new Intent(Intent.ACTION_SEND); Uri

facebook share link returning 404 redirect error when page exists

巧了我就是萌 提交于 2019-12-18 19:11:37
问题 Sharing the following link in facebook is returning 404 error page information instead of the page details and link even though the page exists: http://www.kentbusinessangel.co.uk/lucky-achieve-goals?sq=be-excited&src=fb To try and fix the error: I tried encoding the link to enable passing the & and ? correctly (didn't work) I created a redirect from http://www.kentbusinessangel.co.uk/lucky-achieve-goals-be-excited/src-fb to the original url (which works when you use the url in the browser,