30

The photo is the profile picture of the Facebook page facebook.com/FriendsNetwork. The same misunderstanding has been posted here before which is why I know about it but I can't find that post now.


8

This is not a bug in Mathematica. Facebook has changed what information can be retrieved through their API. It is no longer possible to retrieve the information necessary to build your friend network unless your friends have also explicitly authorized Wolfram to access their data. When I run SocialMediaData["Facebook", "FriendNetwork"] I get a network ...


8

Update Here's a cleaner rewrite of my original: First authenticate: $so = ServiceConnect["Twitter", "New"]; Then extract: ServiceConnections`Private`serviceAuthentication[$so[[-1, -1]]][[2]] OAuthSigning`Private`Token10[ "806596495344603136-CEWIkGjWYevKFKsUT7uJ5XCLoLWyON2", "NuE2kf4PjPNkzUCpb6dASqjMfMoXbE07ACTj7YImeMb1R&...


7

Long story short, LinkedIn changed their API and what it can do. The documentation needs to be updated and the function probably needs to be changed a bit. "UserData" and "Share" requests should work, but the rest won't. The syntax for creating messages should look something like this: ServiceExecute[LIN, "Share", "Message" -> "This is a test message"...


6

Mr. Davis, Thank you for contacting Wolfram Technical Support. It does appear that the SocialMediaData functionality it not currently >behaving properly for the social networks mentioned in the documentation. I >have filed a report with our developers so that they may look into the issue. We are always interested in improving Mathematica, and I want to ...


6

Stefan's comment is correct. Facebook has deprecated the API that Mathematica relied on to gather this information. Official source.


6

CommunityGraphPlot@SocialMediaData["Facebook", "FriendNetwork"] only takes your friends and their mutual friends to group and link them, showing connections between each of them, and showing the isolated friends. Mathematica only allows you to analyze your own "FriendNetwork" via the token given by the Wolfram Mathematica Connection Facebook app. Thus I see ...


6

As rhermans has noted, we can't offer support for specific APIs that have no native support in Mathematica. However one might still try to tackle the problem of retrieving the tweets that you mention. I believe there is another solution (although clearly suboptimal and not scalable), because if you search for the hashtag on Twitter then historic data will be ...


6

Facebook has deprecated the API that Mathematica relied on to gather this information. Official source.


5

All of the functionality you are looking for is well documented on Wolfram's website, you just need to put it all together. Twitter Service Connect Send Email Schedule Tasks There are a lot of options you can use once you start exploring it. It is possible to format the body of the email to display what you are looking for, or you can have it come through ...


5

This should work with ServiceConnect. In[6]:= twitter = ServiceConnect["Twitter"] Out[6]= ServiceObject["Twitter", "ID" -> "connection-5c77beed5f5bfdf02b1a8074d281a438"] In[10]:= twitter["Tweet", "Message" -> "Hi Twitter!", "Image" -> Import["ExampleData/spikey.tiff"] ] Out[10]= "Hi Twitter! https://t.co/YYXZ58lQwJ" Make sure you use ...


5

Finally I figured it out together with the Mathematica support. If you what to connect to the internet and have a proxy that has its definition file not local but from a server within the network, you need to put in the proxy-data to Mathemtica. Normally Mathematica gets the proxy-data directly from the local webbrowser. But if the definition is not localy ...


4

Yeah, sure. twitter = ServiceConnect["Twitter", "New"]; result = twitter["TweetSearch", "Query" -> "#Mathematica", MaxItems -> 50]; WordCloud@Flatten[Normal[StringSplit[#["Text"]] & /@ result]]


3

Presently Twitter paclet does not support https://api.twitter.com/1.1/statuses/lookup.json end point. I have asked the development team to consider adding this request in future versions. Meanwhile one of the developer suggested me a rather simple way of calling this endpoint from mathematica. In[1]:= twitter = ServiceConnect["Twitter", "New"] Out[1]= ...


3

Here's how: Classify["FacebookTopic"] ClassifierInformation[%, "Classes"] {"Books", "CareerAndMoney", "SocialMedia", "FamilyAndFriends", "Fashion", "Fitness", "FoodAndDrink", "Health", "Technology", "Leisure", "QuotesAndLifePhilosophy", "Relationships", "Movies", "Music", "PersonalMood", "PetsAndAnimals", "Politics", "SchoolAndUniversity", "...


3

You can do tweet search using "TweetSearch" command(though it is not documented)


3

For Instagram you first have to initiate the service: instagram = ServiceConnect["Instagram"] This will open a dialog window where you have to click Sign in to Instagram. That will take you to Instagram API authentication website where you have to follow the steps to get an access key. Paste this access key in the Mathematica dialog. Once you are ...


2

This did the trick URLFetch["https://api.github.com/user/repos", "Headers" -> {"Authorization" -> "token " <> token}, "BodyData" -> "{\"name\":\"test012\"}", "Method" -> "POST"]


2

Perhaps it should be mentioned that since this question was active, (prior to version 10) Mathematica has introduced ServiceConnect which allows a user to access the twittersphere and handles the authentication issue. The documentation provides an example of importing tweets as the OP requested.


2

This is the temporary answer at this time. I got a response from support and they have reproduced the issue and reported it to development. So it is under investigation. Update: 14th Sept 2015. I've tested this on Mathematica 10.2 and it appears to work for the first option. You get a popup to authenticate with Twitter. You can have it remember ...


2

Currently Mathematica supports two LinkedIn requests. 1."UserData" 2. "Share". Earlier more requests used to be supported but change in linkedin policies caused others to take back seat. Also currently it is not possible to share a message to other members in your linkedin network.


2

The issue here is that Instagram has changed its terms of use and Wolfram's redirect URI no longer works. I went into the paclet itself to tweak things: FileNameJoin[{ PacletFind["ServiceConnection_Instagram"][[1]]["Location"], "Kernel", "Instagram.m" }] // SystemOpen I made compatibility changes that would have fixed it if they had a valid ...


1

I do not believe so. I spoke with WRI about this almost a year ago. They told me Instagram has restricted their API.


1

I could not try with Twitter because I don't have an account, so I tried with Dropbox. I think you should extract the ID from the ServiceObject returned by ServiceConnect. Here is what I tried: dropbox = ServiceConnect["Dropbox", "New"] The extract the connection ID from the ServiceObject itself: dboxID = dropbox["ID"] (* Out: "connection-...


1

All ServiceObject requests take a request name (string) and list of parameters. In this case if you want to extract GeoLocation for a set of tweets it seems you'll have to do it like this: tweets = twitter["TweetSearch", "Query" -> "#WolframAlpha" ]; twitter["GetTweet", "TweetID" -> #, "Elements" -> "FullData" ]["Location"] &...


1

Certain requests, like that one, are no longer supported by Facebook's new API. If the documentation for SocialMediaData hasn't been updated, then you'll want to check Facebook's documentation for the API to see what is and isn't possible their new API.


1

Recently issues related to SocialMediaData(for services like Twitter/Facebook) has been fixed with new paclet release.


1

The following Wolfram Blog post covers Twitter Access in a pre-Version 9 Approach.


Only top voted, non community-wiki answers of a minimum length are eligible