Set custom profile picture for a contact in Telegram - contacts

Is it possible to set a custom image for a contact who may has or not has a profile image in Telegram?

currently its not possible but you can suggest it to telegram group.
UPDATE
Its not what you want but you can create a group and add your friend then change the group profile picture.

Related

I want to create a page in my Flutter app that allow users to search other user profiles by using an attributes filter

I am new in Flutter, I'm working on my first application, this is my first question...I want to create a page in my Flutter application that allow users to search for other users profile by using a filter...let me give you an example...it's like the Google Play Store but instead of showing apps I want the application to show user profiles that obviously signed up to my app before and want to offer a service.
Thank you!!!

Keycloak: Add common attributes to user account information

In Keycloak, I see a lot of built-ins like phone. How do I add them(e.g. phone) to my account profile page as shown below(e.g. below Last name)?
You have to create custom account theme and override account.ftl template.
Read through Theme creation and Custom User Attributes documentation pages.

Social connect (oauth) avatar best practices. Copy or link?

I use oauth with twitter/facebook/google+ to allow users of our website to signup and signin. We display the users' avatar with user generated content across the site.
With facebook the original image keeps the same url when the user change it (http://graph.facebook.com/[userid]/picture?type=normal)
But on twitter every image used as avatar has a different url (http://a0.twimg.com/profile_images/[slug]/[other_slug]_reasonably_small.jpeg)
What is the best practice to display these images, and what is allowed by the terms of use.
1- Download a copy of the image and create a media on our server, then users can change it as they see fit?
2- Always link to original image and update the link in user profile on sync?

Set the profile picture for a test user

It looks like it's not possible to programmatically set a user's profile picture - you can only upload to an album, then send the user to a "make profile picture" page. Is there any way to do this for a test user?
I'm doing automated testing for a mobile app and want to generate new test users for each test. However, the app requires users to have a profile picture in order to log in, so it's currently not possible for me to create new users on the fly and have them be able to use the app. Is there a workaround for this? And are there plans for this functionality to be implemented?
(I'm using ruby and httparty to communicate with the API.)
Currently you can set up test user's detail from dashboard, but still facebook does not allow to do it programmatically via api.

How to add button to follow application owner's Twitter account from iphone application?

I'm developing an application in which I need to include an option "Share on Twitter " click upon which the application's itunes address is automatically twitted to the user's Twitter account(ofcourse I'm accepting user's id and password). I was able to do that.
Now I want to add a button "Follow" click upon which will enable user to follow the application owner's twitter account automatically.
Anybody having idea how to accomplish this? Thanx in advance.
You need to call the friendships/create method with the ID or username of the person you want to follow. The authentication etc should be the same as you're using to update their status.