Get users full name from their Facebook link - c#

I've been looking around for a way to get someone's full name (as displayed on their facebook account) by following a link.
For instance, if you were to type https://www.facebook.com/zuck in your browser, everyone would be able to see that his name is Mark Zuckerberg. I want to get this information from a C# application, based on a direct URL.
As far as I've understood by reading around, scraping is not allowed on facebook, so that's not an option. Another thing I've looked into is Facebooks Graph API, however it seems that it's not possible to get someone elses name using that api, you can only get your own name using your own access token. I can't really seem to understand whether or not this is possible/legal to even do this. Does anyone have any insight on this?

Related

Getting a track ID on Spotify for using it in the Spotify API

I'm trying to use the Spotify API and I need the id of a specific track but I don't find any solution regarding how to obtain that ID.
Any ideas?
Read a lot of documentation. The information was useful, but I didn't find anything regarding to my topic
Found a pretty simple method. For anyone interested, if you use the desktop app you can drag the name of the song in a text editor and it will give you the id

Get app's data from Play Store, knowing app's ID

I know that this question has beeing asked beforeā€¦ but somehow all the answers are incomplete, not applyable or (mostly) outdated.
So, I'm asking now, in 2018:
Is there a way to access app's details, knowing its ID (e.g. com.companyName.appName), on the Play Store, the largest mobile Marketplace?
Is there an official API?
Browsing the GoogleApis, I didn't find any.
Is there a way to obtain theese data in another way (e.g. some nuget package)?
Or do we still need to analyze the app's HTML web page, searching for the correct nodes?
I need to access this data using C#.
Best regards.
There is no official API for getting app info from playstore, the only way is to scrape the website which is not legal but a lot of websites are doing it so i guess google is cool about it

Yammer Oauth/application confusion

I need to just search Yammer for a various string on the timeline and facing a few weird issues.
Using Nuget, I got the yammer.simpleapi package (Found the bug everyone was talking about and changed it from GET to POST) and I created an App on Yammer, but, this is where the fun starts.
I have a local page http://localhost/home/yammer which redirects to Oauth and then redirects to my app with the key and I retrieve basic user settings.
Now, this is where I get confused - I see if I refresh this page, I just get a blank response (I guess that the code is only good for one query?), but if I refresh the http://localhost/home/yammer - I sometimes get the correct response and sometimes I get nothing.
This is best shown in a recording I did - https://youtu.be/RqrAGiP7Rh4
This is really annoying me and I was wondering if anyone knows what is going on?
I would post code examples, but, there hasn't really been anything modified from the original yammer.simpleapi other than the keys.
The web example app is just working one time.
If you want to replay your page, you should save your YammerClient somewhere (or declare it in static)

Facebook - Get Last Status Updates From Feed

Given a facebook username and password, how do I grab the latest status updates from his feed? Moreover, i'd like to know how to get last updates from user profile.
I'm having trouble finding an answer to this question, and I'd like to know whether it could by done using PHP or C# (C# is prefrred). I'd be grateful if anyone could point me to the solution, thanks in advance !
You can easily do that by using the Facebook Graph API in any language. I suggest you should look at the API documentation, specifically the User Reference Doc (you can retrieve any user's status updates using this). It might take some time to understand how it all work, but you can retrieve user information very easily, provided you have the knowledge of a specific language and you understand how the Graph API actually works (there are plenty of example on the developers' website).
Also, you don't even require user's password for this. All you need is the user's id or username and some permissions from that user (or simply an Access Token).
PS: If you have any specific problem in your code, please update your question with some code that you've written till now and I'll be happy to help you with that.

Upload from C# to GDrive

Please help. I am looking for a way to upload a file to Google Drive with my app. The Google Account in question will be a specific one, i.e. not the client's account, a 'Service' account. I've tried to Google it, but I can't find anything that seems to do what I want, And the API reference I probably don't understand. I have been thrown in the deep end for a project. Any source or links to help Please! I am not asking anyone to write my source, but if it exists, it would be nice.
Note: This is my last hope. I don't ask a question unless there is nooooo other way.
(I am using Windows Forms)
Thanks
Jacques
EDIT: It is always signing in to MY drive, whether I am using it or you are using it. I have also posted this question to CodeProject to harness maximum brain power.
PermaLink: http://www.codeproject.com/Questions/652006/Upload-from-Csharp-to-GDrive
This page tells you what you need to know about authorizing a service account https://developers.google.com/drive/service-accounts
This page shows you the C# required to upload a file, once you have been authorized https://developers.google.com/drive/v2/reference/files/insert
Treat the authorization and the uploading as two separate problems and you'll find life much easier. The end result of the authorization procedure is an access token. Give that access token the insert API and you're all set.

Categories