Is it possible to modify a WeChat profile pic through code? - wechat

I wanted to try writing code to modify my own WeChat profile pic.
However, I couldn't find the documentation regarding profile pictures for WeChat. As such, it could be impossible for all I know.

Related

Exporting Evernote notes with Siri Shortcuts

I'm writing a Siri Shortcut to export notes from Evernote to another app. But I'm having a devil of a time figuring out how to do it. When I invoke the shortcut from the iOS share sheet, it sends a link like this to Shortcuts: https://www.evernote.com/shard/s120/sh/3e0ec717-211f-42a0-0327-f64a2337ae8f/bb4a73c5eb5c46d745fe2cda1b700570 . The problem is, the page that that link goes to seems unscrapeable. I can't figure out how to get any information out of it other than the Last Updated date. 
The Evernote Get Notes action is no help, because there's no way to pass any useful information to it from that link, as far as I can tell. 
Shortcuts supports APIs, but I can't see how to use that to get the information I want without building an app. Maybe there's a way, but I can't see it. 
Does anyone know how to accomplish this? Please help!

Change Forgot Password text Firebase [duplicate]

I am working on a Application with firebase. I want to validat a users email, but since Firebase doesn't allow to change the verification message (To help prevent spam, the message can't be edited on this email template), i can't use this. I don't want to serve English text to my users.
Is there a way to get/generate a custom ActionCode? I used this tut https://firebase.google.com/docs/auth/custom-email-handler it might solve the problem is i can get the temp actioncode somewhere.
I found applyActionCode and checkActionCode (seems the same) but not something like createActionCode
Ask for it...
Nowadays the best procedure (with just 1 step) was for us to develop an HTML file with the exact content for each of your templates (Email-Verification and Email-Change, including even the snippets %...% in the right place) and send them as attachment in the Troubleshoot form as mentioned by Alfonso in the comments of this question.
If you send the exact email HTML template file, you leave Google's people with no questions for spamming purposes other than quickly validating your HTML content and approve.
you can change the language for all the templates, at the bottom...
also you can edit manually the body and the subject for the forgot password template
You can customize the email validation template text as you wish? Right?

How to add login via Twitter functionality with Firebase?

I read the documentation on https://www.firebase.com/docs/ios/guide/login/twitter.html. I downloaded and added the two files as it says in the documentation. I also imported Accounts at the beginning of the files, so Xcode builds successfully. Then I copied the exact code in the documentation to my twitterLogin IBAction, and set my Twitter API Key and Firebase base reference.
The problem is that when I click on my twitter login button, nothing happens. (It used to say no twitter accounts, then I set my account in the Settings.) I even put print statements in any if-else case but none of them prints. So is there any suggestions for making Twitter login work? I don't think Firebase is missing anything. But please give some suggestions on how to figure out the issue at least.
Check to make sure that you have Enabled Twitter Authentication in your Firebase Dashboard, and that the apiKey in your project matches the one that is in your Dashboard.
Hope that helps :)
I solved the issue. The 'funny' solution was to add an equal sign to the condition
if accounts.count > 1
For anyone who is not lucky enough to notice that the sample code in the Firebase documentation is weirdly working only for users that have 'more' than 1 twitter account signed in the device, I believe this answer would help to save some time.
I also think that this sample code is misleading.(may be something that shouldn't be the default case in the sample code)
I have recently found some pretty good stuff on exactly this topic may it can help someone:
https://medium.com/reversebits/twitter-authentication-in-firebase-for-android-51d1460dc6a9#.strjpm90r

How to add a bespoke social sharing message to a specific page

I've used services like 'Add This' for a while but now I need to add a couple of specific bits of functionality to an ecommerce order completion page. It's to work like Amazon's order thank you page where it allows you to post a message to Facebook saying something like 'I just bought a widget on Amazon'.
Equally I'm looking for the equivalent in Twitter.
I've added a bunch of OG tags and share buttons but can't get it to do what I need. From further reading it sounds like I might need to create a Facebook app of some sort and use FB ui to create the link to post to the user's wall. I was hoping to do this without getting tangled up in that level of permissions etc but maybe that's not possible any more?
This is being developed on asp.net C#, in case there's a library that I haven't found in my searching.
Can anyone familiar with this type of development point me in the right direction?
For Twitter, the simplest way is to use Web Intents.
For example, if you want to share the text
I love http://example.com
URL encode the text to I%20love%20http%3A%2F%2Fexample.com and use the Twitter Web Intent URI. E.g.
https://twitter.com/intent/tweet?text=I%20love%20http%3A%2F%2Fexample.com
When the user clicks on that link (try it!) or is directed there by your service, they'll be prompted to share that text.

How do I allow users to display LinkedIn profiles on my site?

I have a site (using PHP and JavaScript with jQuery) which allows users to display a profile, and I would like them to have the option of simply importing their LinkedIn profile, if they have one, rather than having to type everything in again.
I'm not sure what the best approach is here... I've read some of the LinkedIn API documentation, but I'm not even really sure which bit I need to look at.
The process should be:
User goes to profile management page
User is shown a checkbox saying "use my LinkedIn profile", and a textarea. If they don't want to type their profile into the checkbox, they check the checkbox, and somehow their Linked In profile is retrieved.
The LinkedIn profile is stored (or some kind of id is stored), so that the profile can be retrieved by anyone else at any time.
I'm not very familiar with the LinkedIn API, or with the site itself, so I'm not even sure what's possible. Does this sound possible, and if so, where do I start?
You can start with the User Profile tutorial here:
http://developer.linkedinlabs.com/tutorials/jsapi_profile/
The example uses jquery so it should be pretty easy for you to extend this to do what you want.

Resources