share

How to get who and when a user shared a Facebook post

为君一笑 提交于 2019-12-05 00:20:19
问题 For my Facebook posts my friends share (not likes) I would like get who shared it and when. Using the graph api I can get the like or comment information and the number of times a post has been shared. What I am looking for is a graph api call or Facebook fql query for shares which returns a result set similar to this: data": [ { "id": "user_id_1", "name": "Username 1", "created": "some date" }, { "id": "user_id_2", "name": "Username 2", "created": "some other date" } ] 回答1: I am also looking

Share existing post to Facebook app by id/url using Graph API

假装没事ソ 提交于 2019-12-04 22:58:21
So in my app I display some Facebook posts from a predefined page. I get the posts from my server (the server gets them from Facebook directly) and this way I avoid using the Facebook SDK. For each post, I have both the id and the URL and whenever a user presses on a post I open the Facebook app on that given post. Now I'd like to add the possibility for users to share these posts to their profile pages, but when a user opens a post (on the Facebook app) it doesn't appear any option to share it (only like and comment). Other option would be to use the standard android sharing feature (ACTION

Installing python with python win32 extensions on a network drive

夙愿已清 提交于 2019-12-04 22:35:11
问题 I need to keep a large number of Windows XP machines running the same version of python, with an assortment of modules, one of which is python-win32. I thought about installing python on a network drive that is mounted by all the client machines, and just adjust the path on the clients. Python starts up fine from the network, but when importing win32com I get a pop-up error saying: The procedure entry point ?PyWinObject_AsHANDLE@@YAHPAU_object@@PAPAXH@Z could not be located in the dynamic

Share via facebook/twitter application in android , don't open browser if facebook/twitter is installed on the device

匆匆过客 提交于 2019-12-04 22:02:08
As the title implies , I would like to share something via facebook/twitter in android .If the facebook/twitter is installed , I want to share the post via the fb/twitter application , otherwise I want to direct to the user to the browser . I can direct the user to the browser it is easy , but how can I share post via the fb/twitter application ? Thanks.. (Editted) I've tried to do this , examined developers.facebook.com , however they're doing this operation via fragments. I want to do it with default activity . I've tried the code below however I'm getting error like W/dalvikvm(16093): VFY:

How to Share an Image to facebook?

北战南征 提交于 2019-12-04 21:49:14
How to share an image from an iPhone application to facebook? I am greatly appreciative of any guide or help. There is a Ray Wenderlech tutorial on how to use the new Facebook graph API. http://www.raywenderlich.com/1488/how-to-use-facebooks-new-graph-api-from-your-iphone-app Now once you have got the user giving you persmission, in your case it would be publish_stream. You can call the graph API with the parameters to post a photo on the wall. You will need to dig into the developers help guide to find accurately the Graph api which meets your requirement. You will have to then use the

Share the Selected Image Only in Android

人盡茶涼 提交于 2019-12-04 21:03:39
HOW CAN I REPLACE THE R.id.ic_launcher with the specific id that user selected. i have created an application which represents some grid view of images, then after user selection it select the specific image and then a share menu button share the image to the social apps. but the error is whenever any image is selected and shared to any application it only sends the default launcher icon i.e, ic_launcher.png . my code goes below like this: FullImageActivity.java @SuppressLint("SdCardPath") public class FullImageActivity extends Activity { @Override public void onCreate(Bundle

How to change open graph meta tags to share custom content on social media?

家住魔仙堡 提交于 2019-12-04 20:48:04
I want to add some social media share buttons on my website. Using Open Graph meta tags would work for pages that represent one material (for instance a post on my website). But the problem is, I have a gallery page which contains multiple pictures, and I want to add share buttons for each picture. If I use Javascript to change the meta tags according to which picture the user wants to share, would--for instance--Facebook's Crawler catch the newly generated tags or the original tags when the page is loaded? I don't want to use PHP to generate the meta tags because everything in the gallery is

Sharing iCloud data between two apps

瘦欲@ 提交于 2019-12-04 18:27:37
问题 I'm wanted find more information regarding this. I intend to make an app right now with iCloud core data store. And i wish to share that with another app (different bundle Identifier) is it possible? Obviously, i shall include the iCloud capabilities in another app as well ,but with the AppIDs and all, it seems questionable. Another question if I may, I am planning to use iCloud sync for CoreData and a plist File. From what I know, usually apps take one of the approach, but I needed to sync

Mounting SMB network share on desktop

隐身守侯 提交于 2019-12-04 18:02:08
I am trying to mount a smb network share onto the desktop via python, I don't want the share to be mounted in a folder, but were all the other mounted shares are (if I use 'connect to Server' in OSX I want my python mount to be mounted in the same location). Here is the current python code: directory = os.path.expanduser('~/Desktop') directory = os.path.normpath(directory) os.system("mount_smbfs //server/servershare " + directory) When I run the above, something strange happens. In finder, my home, which has the icon of a house and my username changes to the mount name, it screws it up a bit.

sending an image with mms on iphone programmatically?

白昼怎懂夜的黑 提交于 2019-12-04 17:27:01
Searched the whole web for this with no solution... I want to take a picture with the iphone camera and then be able to send it out via MMS/E-Mail. This doesn't have to happen in my app, but at least I'd like to be able to call the MMS/E-Mail app and make it select the taken (and stored) picture. When I use the built-in Photo-Album app, every picture has a button on the lower left corner which let's me share/print the actual photo... So I kinda hope I'll be able to build something like that into my app...? Any ideas? [EDIT] Thanks for the answers so far. Meanwhile, I found out that I could at