FAQ Database Discussion Community


Alfresco 5.0.a/b doubled facets for d:mltext

search,solr,share,alfresco,faceted-search
It seems that facets doesn't work properly with multi language properties. I did a simple test in Alfresco 5.0.a and 5.0.b on clean installation: Created a text document in site. Put description in English. Changed browser language to French. Added French version of the description. Searched for the file name....

Share text to Facebook Objective-C

ios,objective-c,facebook,share
I'm trying to share some text on Facebook via my iOS application. I've managed to get it working in a Swift written application like this: @IBAction func shareAction(sender: AnyObject) { if SLComposeViewController.isAvailableForServiceType(SLServiceTypeFacebook){ var facebookSheet:SLComposeViewController = SLComposeViewController(forServiceType: SLServiceTypeFacebook) facebookSheet.setInitialText("Preadded text") self.presentViewController(facebookSheet, animated: true, completion: nil) } else { var alert =...

Android Studio Share button

android,navigation,share,drawer
I wanted to make a share button on a Navigation drawer, when the user touches the button it will open up that black drawer with the list of all applications and the user can share the apps Google play link. Is there any generic code template? the only answers I...

Server Programming On Router(linux)

linux,facebook,api,share,router
Good Day.Our company have router with linux,having routing and everytime any device connects to router,it redirects to another page,and unless the user on its device wont hit the button,we wont let him to use internet.How am i able to make this work in a case that i want to make...

Distribute enterprise IPA using local server

ios,build,share,enterprise,ipa
I am trying to share my enterprise build via my server. First of all, I want to test process on my local server. The problem is that app was not installed on my device. I tried to install app in 2 ways: 1. Open direct link for .ipa file. Safari...

Custom share dialog,not working for some apps

android,android-intent,dialog,share,evernote
I have implemented a custom share dialog,in my android app.I am sharing images,interesting enough it does not work for Evernote application.I can share with Evernote by the default way.But it does not work with this code.I have experienced this only for the Evernote application. This is my code : public...

How can I use the share icon in android

android,layout,menu,share
I'm sure this is a duplicate question - but I can't seem to find a fix online. I'm trying to add a share button to my app. But at the moment I've got the issue where instead of the share icon (the weird USB/tree/node thing) - I've got the 3...

Linux Drive Mounting

linux,share,mount
I'm looking for some information and advice on mounting drives in Linux. (openSuSE) I have the option of CIFS or NFS. I'd like to clarify if the following is correct. NFS shares don't need username & password authentication. CIFS share do need username and password authentication. When mounting the share...

two open graph images (facebook size and google size)

facebook,google-api,share,opengraph
How could I include open graph images (two different ones; two different sizes) For both Facebook sharer and google sharer? .. via META open graph method....

MenuItem on ActionBar can't be clicked

android,android-actionbar,share,menuitem,shareactionprovider
I'm trying to implement a share intent to share images. I have a full screen activity which extends ActionBarActivity and a fragment that implements the immersivemode as the android developer's guide explains, so the user can see the image in fullscreen. The problem is that even if I can see...

alfresco selectone (dropdown list) not work

eclipse,forms,share,config,alfresco
I did not correctly displayed DropDown List in Alfresco Share. I did everything as shown in the video (Alfresco Summit 2013 ), but after deployment from Eclipse is obtained as in the image below. Prompt please who knows the solution. Thank you! Image one Image two...

Fill Windows Share Charm with Clipboard Data

windows-8.1,share,clipboard,charms-bar
I want to share data in the Clipboard (for example Images) through the share charm. Is it possible to use the windows clipboard content in the Windows 8.1 Share Charm? Unfortunately the DataTransferManager isn't available in desktop apps, so how am I able to share the clipboard with the charms-bar?

How to share content from my iOS app onto BBM?

ios,share,bb-messenger
I am trying to allow users of my app to share contents from my apps on their social timelines and within their chat messenger apps. Recently I came up with the fact that BBM is actually one of the most common messenger apps in my target countries. Therefore that integration...

How to use a single object in multiple threads?

c++,multithreading,object,share
I want to use a single object in multiple threads using c++. I know from java that threads share all variables, but it seems that in c++ it is different. I have the following structure to store the date Class Flow: has multiple integers Class UE: has a list<Flow*> Class...

Is it possible to share multiple text by using share intent?

android,button,android-intent,share
I intend to share 6 text information, however it always shows the last information only, i.e. share.putExtra(Intent.EXTRA_TEXT, Contact); I also tried to use a string array to store all 6 information, i.e: share.putExtra(Intent.EXTRA_TEXT, stringArray); However, it still doesn't work. Can anyone help ? Thank you. My code: public class SingleJobActivity...

Unable to added Facebook and Twitter to UIActivityViewController

ios,objective-c,iphone,share,uiactivityviewcontroller
Trying to share application on social median, and email, and message. Since Email and message is working fine for me. But Facebook,and twitter is not all showing to UIActivityViewController Below is code which i try. NSArray *excludeActivities = @[UIActivityTypeAirDrop, UIActivityTypePostToFacebook, UIActivityTypePostToTwitter]; UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:@[string, URL] applicationActivities:nil]; activityViewController.excludedActivityTypes...

Custom title and image for Facebook share button on AJAX result

ajax,facebook,image,share,title
This question exists in different flavors, but not for AJAX pages. I use AJAX to pull a single video into my page and I want a custom FB share button for it. Everything I've read so far says that FB pulls the required title and image from meta-tags in the...

bb10 cascades Sharing Image to Social Media

qt,share,blackberry-10,blackberry-cascades,social-media
I'm working with this feature where user can share an image to social media such as Facebook and Twitter. The image is the screenshot of some screen. and when the screenshot is taken, i checked on the gallery and the image is located to "Device/photos/image1.jpeg". And now i want to...

Image share (post) on facebook from resourse drawable folder

android,facebook,image,android-intent,share
I am making an application for which I need to share an image with text on facebook timeline. However with my code i can share a link to the facebook wall but cannot share Image. I already tried most of the code of stack overflow. but not succeed yet. Here...

Auto post on Facebook from Android game on user behalf

android,facebook,share
I have developed a physics based (Box2d) game for android using Processing and I want to add score sharing option to it so that the user can share his/her best score on their facebook timeline after the game. I have setup Facebook SDK in eclipse. I have searched over internet...

Facebook open graph- share a poem instead of an article

facebook,web,share,facebook-opengraph,opengraph
My website shares poems, stories and articles. This is an example of an open graph of a poem. { "id": "905716739487689", "application": { "id": "728278247279506", "name": "mypen", "url": "https://he.mypen.net/" }, "created_time": "2015-04-08T10:48:04+0000", "description": "My complexity, my life is yours. You have me in the morning as i get out of...

Share screenshot using ShareActionProvider of my apps current view

android,android-actionbar,share,screenshot,shareactionprovider
I've looked at all relevant similar post and not one answers my question. My program sets up a ShareActionProvider to take a screenshot of the current view and share it with any app that can interact with .png images. Problem: The shared screenshot is always the previous screenshot meaning that...

iOS: How to share text and image on social networks?

ios,facebook,share,uiactivityviewcontroller
Please, can you tell me if I'm doing mistakes? NSString *sharedMsg=[NSString stringWithFormat:@"Hello world"]; UIImage* sharedImg=[UIImage imageNamed:@"image"]; NSArray* sharedObjects=[NSArray arrayWithObjects:sharedMsg, sharedImg, nil]; UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:sharedObjects applicationActivities:nil]; activityViewController.popoverPresentationController.sourceView = self.view; [self presentViewController:activityViewController animated:YES...

Android Share Intent Completed

android,facebook,android-intent,twitter,share
I have a simple share intent to allow users to post to social / text msg: Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND); Is there any way to check if user actually completed the action successfully (shared via twitter as an example)or just exited out by hitting the back button ?...

how to share different urls via uiactivityviewcontroller?

ios,xcode,share,analytics,uiactivityviewcontroller
I am trying to use UIActivityViewController share different URLs for each item. e.g. For twitter : www.google.com ; For Facebook : www.bing.com I know that I can customize the text for each one but I can't seem to find a way to customize the url for each one. I've tried...

Facebook share on a different domain than your app configuration?

facebook,share
This is the code for the share button: FB.ui({ method: 'share', href: 'http://cheese.com/', }); I have multiple domains reusing one app id. We did some workarounds for logging in etc. But at least I hoped the share button would just work. But this gives me a classic: Given URL is...

Facebook Share Count not correct

facebook,api,count,share
can somebody please explain me why using this query returns 7 as share count, even though this post has only one share. Link. I cant find an explanation of this, please help....

c# image send improvement

image,sockets,screen,share
im trying to send as much pictures as possible per sec and it's working prettry good on local network,but when im trying it from friend computer or somthning... it works veryyyy slowwww.. i have a prettry good internet,also my friend has.. i have only this port opend..... i think it...

SpriteKit share button not workiing

ios,objective-c,sprite-kit,share
I am having a lot of difficulty with trying to make a share button which allows users to share my game on social media sites. I am developing a game using Sprite Kit. From what I have seen, I am under the impression that the actual code to initiate the...

Share image ant text WhatsApp api iOS

ios,xcode,api,share,whatsapp
I'm trying to share an image and a text with the api of WhatsApp but I'm unable to do it. To share an image I have this code: if([[UIApplication sharedApplication] canOpenURL: [NSURL URLWithString:@"whatsapp://app"]]) { NSURL *documentURL = [[NSFileManager defaultManager] URLForDirectory:NSDocumentDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:NO error:nil]; NSURL *tempFile = [documentURL URLByAppendingPathComponent:@"whatsAppTmp.wai"]; NSData...

How to share image from my app on Facebook

android,facebook,facebook-graph-api,share
I want to allow users to share image from my app on Facebook. Say I already have an image (i.e. file path). How do I go about letting a user share it on Facebook? Basically I want the user to agree once. Then from there on, whenever the user takes...

Link blog with Facebook fan page

php,facebook,share
is there any way to link a blog to Facebook fan page (and vice versa) so that whenever there is a new blog post, it automatically shares to blog's Facebook fan page in the way that every time there is a new like/share/comment on Facebook side, it will propagate to...

Android facebook app share intent

android,facebook,share
I have been trying to share text content on Facebook share intent, and it seems like it does not let us share text for some reason. Does anyone know why they've done this? The only way to share text is to use their SDK, which takes time. Just need a...

How to refresh/modify Meta for facebook?

php,html,css,facebook,share
I cannot find any documentation on how to solve this since it is an issue that should not exist. I just made a website and it is hosted on godaddy at the moment. When I shared it on facebook in a private converation, there was no image in the preview...

How to share an app for instant view/execute on an emulator

android,android-emulator,share
I would like to know is it possible to package my android app files, so that another person can download online and simply open an emulator in order to view and test my working app. I want to make it as straight forward as possible for my app to be...

Share Intent - from another App to my App nullpointer

java,android,share
I want to share images, videos or some other things between, ex. whatsapp, to my app via Share. example of image: Uri imageUri = (Uri) intent.getParcelableExtra(Intent.EXTRA_STREAM); [...] in.putExtra(Constant.SHARE_URI, imageUri.toString()); So in my Mainactivity Uri selectedImage = shareUri; String[] filePathColumn = { MediaStore.Images.Media.DATA }; Cursor cursor = getContentResolver().query(selectedImage, filePathColumn, null, null,...

XCode iOS — share some text to another app — only Mail and SMS options available

ios,objective-c,xcode,facebook,share
Good day, friends. I am developing an iOS application and I need to share some text from it to other apps, especially social networks. I use the following code: NSString *shareText = @"This is my text I want to share."; NSArray *itemsToShare = @[shareText]; UIActivityViewController *activityVC = [[UIActivityViewController alloc] initWithActivityItems:itemsToShare...

Angular.js | Sharing a ngModel

javascript,html,angularjs,share
So, this is my HTML. <input type="text" id="ghusername" ng-model="username" placeholder="Github username..."> <span id="ghsubmitbtn" ng-click="getUsers()">Pull User Data</span> This is my Controller A. app.controller("homeController", ["$scope", "$http", function ($scope, $http) { $scope.getUsers = function () { $http.get("https://api.github.com/users/" + $scope.username) .success(function (data) { //some stuff }) And this is B (for posting sake). How...

How to share a String with sharing apps like Facebook, Twitter, etc.?

ios,swift,ios8,share,ios-app-extension
I'm developing an App and I want to have a Share button that allows users to pick an app from a list that they can share from, which then opens up that app or some sort of dialog that lets them tweet, post, text message, etc. I've achieved this on...

How to share an instance created in main with a class in another module

python,class,share,instance,global
I am having a problem with how to share a class instance between modules. Below is not the actual code, it is a simplified representation of what I'm trying to do. The variable in question is thePlot. If I make it a global, I get 'global name not defined' type...

How can I share a picture from my application to Whatsapp?

android,share,whatsapp
I`ve searched a few solutions here but only for iOS. How can I share a picture from my Android application to Whatsapp?

Connect SDK: share local image

android,share,live-connect-sdk
I use Connect-SDK-Android-API-Sampler and share an image into a TV using mediaURL "www.example.com/image.jpg". How I could share my local image from device?...

hadoop (HDFS) with diskless compute nodes

hadoop,share,hdfs
All. I have small cluster with one node, that has RAID storage, and several powerful diskless compute nodes, that boot over PXE. All connected by IfiniBand (and 1G ethernet for booting). I need to deploy hadoop on this cluster. suggest me optimal configuration of deploying As i understand default configuration...

Facebook image not displayed in share

facebook,share
I'm trying to publish on FB a link of my wife-website. The Open Graph Debugger says that everything is fine (there is og:image tag and the image is 1200x630). But the image isnt' displayed in the post, even if I try to scrape again the page! Please, help me! Riccardo...

how can Share URL with content on facebook from application?

android,facebook,share
I am trying to share play store URL from my application with some my title and description but I an not getting content and title of application on shared data. Please can anybody help me out. here is my code, if (ShareDialog.canShow(ShareLinkContent.class)) { ShareLinkContent linkContent = new ShareLinkContent.Builder() .setContentTitle("My Application")...

Error when trying to share an image

java,android,image,android-studio,share
So I take a screenshot of my activity, then save it to "screenshot.png". When trying to share it via, let's say, Whatsapp, I get an error: "could not send image". Same with gmail, pushbullet and basically all other apps. Therefore, I conclude that the file somehow exists, but it is...

Cocoa osx NSSharingServicePicker set default email address

osx,cocoa,email,share,items
In my app for Mac I use the NSSharingServicePicker for mailing some items. My problem is that I want to set the default email address to be sent. How can I set this value to show it when the mail client opens?? I have this code: NSMutableArray *shareItems = [NSMutableArray...

Passing value between classes

c++,class,share
I'm tryng to pass value between two classes: #ifndef classa_inc #define classa_inc #include "classb.hpp" class classa { private: int a; classb tmp; public: classa(int); classa (); int get_a() const; int get_b() const; }; #endif // .. #include "classa.hpp" classa::classa (int _a) : a(_a), tmp(30) {} classa::classa () : a(20), tmp(30)...

Can't get a Share Button to work in my iOS App?

ios,objective-c,xcode,button,share
I can't get a Share button to work in my current app, I successfully had one in my previous app but I can't get it to work in my new app. I think this may be due to my first app having only a single ViewController whereas this app has...

Open full Screen Image when clicked on grid view android

android,camera,imageview,android-camera,share
// This is my On click function which opens New activity for image view. @Override public void onClick(View v) { Intent intent = new Intent(activity, ImageDisplayActivity.class); intent.putExtra("id", position+1); Below i'm getting the path of the file which is clicked. intent.putExtra("position", String.valueOf(getItem(position))); Log.d("ImageAdapter","Intent.putExtra "); activity.startActivity(intent); } This is my ImageDisplayActivity class....

How to put the official google +1 and facebook like/share button in the same line?

javascript,css,button,web,share
I don't know what's the reason why don't want to put them in a single line, which will waste my space, I want to put them in the same line but not using 3-party buttons, the only method I can use is table, but will be not responsive, please help,...

Get Google Plus Url Share Count

google-plus,share
I have read tons of posts about how to do this and they all say to use: gapi.client.setApiKey('AIzaSyCKSbrvQasunBoV16zDH9R33D88CeLr9gQ') gapi.client.rpcRequest('pos.plusones.get', 'v1', { nolog: true, id: "http://www.google.com/", source: "widget", userId: "@viewer", groupId: "@self" }).execute(function(resp) { console.log('count:', resp.result.metadata.globalCounts.count) }); rpcRequest no longer appears to be supported the accepted call is to .request but...

Share Canvas Images to Facebook

facebook,canvas,share
Hi Guys i'm at the last step of this project, i've saved my Canvas image on server side and was hoping to now be able to change the share thumbnail for Facebook. Below is the code up to the sharing part. jQuery(document).ready(function($){ //Share the current Canvas Image to Facebook jQuery(document).on('click','#poster',function(e){...

Facebook on Android exits immediately when sharing with it from my app

android,facebook,url,share,applinks
When I share some URL (as text) from my app with Facebook, the Facebook new post activity appears and exits immediately and my app re-appears. The user has no chance to submit it, or even review and finish it. This is (apparently) not a crash, there is no notification about...

Link facebook share count with file_get_contents

php,facebook,count,share,file-get-contents
I'm tring do get the total number of sharing a link on facebook with the function "file_get_contents". This is my code: $url = x; $data = file_get_contents('http://graph.facebook.com/?id=".$url'); $obj = json_decode($data, true); $like_no = intval($obj->{'shares'}); echo $like_no; I tried this and it doesn't work. But file_get_contents is enabled on my server...

Trying to set the image in sharing at google+, facebook, twitter via HTML

html,facebook,twitter,share
I am trying to make google+, facebook and twitter to show the image I've selected when sharing. I wrote an html code as it should be, but it doesn't work for some reason. That's in the body: <a href="https://www.facebook.com/sharer/sharer.php?u=incodedURL" target="_blank"> <img src="other/facelog.png" alt="Facebook Logo" id="facelog"></a> <a href="https://plus.google.com/share?url=incodedURL" target="_blank"> <img src="other/googlog.png"...

Sharing image from other apps unto my app

java,android,android-intent,share
When a user shares an image to my app from another app, I want to receive it as an image and handle it. I've already set up filters like this: Now what I don't understand is how to actually receive the intent in my app nor how I could extract/handle...

How to put file from android app to pc in LAN network

android,android-activity,share,pc
I have a little problem with my android app. I'm developing an android app that should read .txt file from PC, and path is "E:/Sharing/hello.txt". I already shared that folder on PC. How can I get that file and read it on my android app. Is there any solution, or...

Add my app to “Share” button in gallery

ios,gallery,share
The idea is to select the photo, press the share button and select my installed app, and open my app with the photo selected (as Facebook or Twitter do). It is possible on iOS (Android does it)?...

Create Google Maps links based on coordinates

google-maps,hyperlink,coordinates,share
I just can't seem to find an easy way of creating Google Maps links based on coordinates. Their new basic share urls contain a lot of parameters, for example - https://www.google.com/maps/place/Vetlanda,+Sweden/@57.4217311,15.0849255,13z/data=!3m1!4b1!4m2!3m1!1s0x465758d912d321b5:0x55675191e550be84?hl=en Any ideas? Not looking to embed but just to create external links that can be shared....

Share on facebook and twitter without page referesh

javascript,facebook,twitter,facebook-javascript-sdk,share
I am very confused about sharing to facebook and twitter. I have a simple javascript game, in which the user answers questions and after answering 3 questions wrong, they are out of lives and have to share this on facebook or twitter to get another life and continue where they...